Added RBAC mtproxy

This commit is contained in:
2026-02-12 01:01:01 +02:00
parent 5fd202a796
commit f9dd26ce2c
+4 -2
View File
@@ -78,14 +78,16 @@ spec:
- /bin/sh - /bin/sh
- -c - -c
- >- - >-
curl -s https://core.telegram.org/getProxySecret -o proxy-secret && \
curl -s https://core.telegram.org/getProxyConfig -o proxy-multi.conf && \
mtproto-proxy mtproto-proxy
-u nobody -u nobody
-p 8888 -p 8888
-H $(PORT) -H $(PORT)
-M 1 -M 1
-S $(SECRET) -S $(SECRET)
--aes-pwd /etc/mtproxy/proxy-secret --aes-pwd proxy-secret
/etc/mtproxy/proxy-multi.conf proxy-multi.conf
env: env:
- name: SECRET - name: SECRET
valueFrom: valueFrom: