From 7e7813bfe07cf2f45b4d240db1567938ecf83932 Mon Sep 17 00:00:00 2001 From: Ultradesu Date: Wed, 21 Oct 2026 11:36:08 +0100 Subject: [PATCH] Mount telemt config as a regular file --- k8s-ng/apps/mtproxy/daemonsets.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/k8s-ng/apps/mtproxy/daemonsets.yaml b/k8s-ng/apps/mtproxy/daemonsets.yaml index 4237cda..f07ec9c 100644 --- a/k8s-ng/apps/mtproxy/daemonsets.yaml +++ b/k8s-ng/apps/mtproxy/daemonsets.yaml @@ -30,7 +30,7 @@ spec: image: ghcr.io/telemt/telemt@sha256:b311c20596213a3941dcd11f499be982de74f554eecfffe57fab51c1bf80d50a imagePullPolicy: IfNotPresent workingDir: /run/telemt - args: ["/etc/telemt/config.toml"] + args: ["/app/config.toml"] ports: - name: proxy containerPort: 30443 @@ -55,7 +55,8 @@ spec: drop: ["ALL"] volumeMounts: - name: config - mountPath: /etc/telemt + mountPath: /app/config.toml + subPath: classic.toml readOnly: true - name: workdir mountPath: /run/telemt @@ -66,7 +67,7 @@ spec: defaultMode: 0444 items: - key: classic.toml - path: config.toml + path: classic.toml - name: workdir emptyDir: medium: Memory @@ -104,7 +105,7 @@ spec: image: ghcr.io/telemt/telemt@sha256:b311c20596213a3941dcd11f499be982de74f554eecfffe57fab51c1bf80d50a imagePullPolicy: IfNotPresent workingDir: /run/telemt - args: ["/etc/telemt/config.toml"] + args: ["/app/config.toml"] ports: - name: proxy containerPort: 30444 @@ -129,7 +130,8 @@ spec: drop: ["ALL"] volumeMounts: - name: config - mountPath: /etc/telemt + mountPath: /app/config.toml + subPath: tls.toml readOnly: true - name: workdir mountPath: /run/telemt @@ -140,7 +142,7 @@ spec: defaultMode: 0444 items: - key: tls.toml - path: config.toml + path: tls.toml - name: workdir emptyDir: medium: Memory