Mount telemt config as a regular file
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 6s
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 6s
This commit is contained in:
1 parent
a79c695a40
commit
7e7813bfe0
1 file changed
+8
-6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user