From f9dd26ce2cb189a4b8b6d662a94fcd0962bbb959 Mon Sep 17 00:00:00 2001 From: AB Date: Thu, 12 Feb 2026 01:01:01 +0200 Subject: [PATCH] Added RBAC mtproxy --- k8s/apps/mtproxy/daemonset.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/k8s/apps/mtproxy/daemonset.yaml b/k8s/apps/mtproxy/daemonset.yaml index 1ddff48..3e3f95a 100644 --- a/k8s/apps/mtproxy/daemonset.yaml +++ b/k8s/apps/mtproxy/daemonset.yaml @@ -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: