Added telemt
Some checks failed
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 13s
Check with kubeconform / lint (push) Successful in 13s
Auto-update README / Generate README and Create MR (push) Has been cancelled

This commit is contained in:
Ultradesu
2026-04-06 12:09:14 +01:00
parent f2e8923285
commit 1e6a9affad
3 changed files with 6 additions and 4 deletions

View File

@@ -55,10 +55,9 @@ spec:
echo "ERROR: node ${NODE_NAME} has no mtproxy label"
exit 1
fi
# Build dd-prefixed secret for TLS mode: dd + secret + hex(tls_domain)
# "ya.ru" = 79612e7275
DD_SECRET="dd${SECRET}79612e7275"
LINK="tg://proxy?server=${SERVER}&port=${TELEMT_PORT}&secret=${DD_SECRET}"
# Build ee-prefixed secret for secure mode
EE_SECRET="ee${SECRET}"
LINK="tg://proxy?server=${SERVER}&port=${TELEMT_PORT}&secret=${EE_SECRET}"
echo "Registering telemt: ${SERVER} -> ${LINK}"
if kubectl get secret telemt-links -n "${NAMESPACE}" &>/dev/null; then
kubectl patch secret telemt-links -n "${NAMESPACE}" \