Added RBAC mtproxy
This commit is contained in:
@@ -78,14 +78,16 @@ spec:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- >-
|
||||
curl -s https://core.telegram.org/getProxySecret -o proxy-secret && \
|
||||
curl -s https://core.telegram.org/getProxyConfig -o proxy-multi.conf && \
|
||||
mtproto-proxy
|
||||
-u nobody
|
||||
-p 8888
|
||||
-H $(PORT)
|
||||
-M 1
|
||||
-S $(SECRET)
|
||||
--aes-pwd /etc/mtproxy/proxy-secret
|
||||
/etc/mtproxy/proxy-multi.conf
|
||||
--aes-pwd proxy-secret
|
||||
proxy-multi.conf
|
||||
env:
|
||||
- name: SECRET
|
||||
valueFrom:
|
||||
|
||||
Reference in New Issue
Block a user