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
|
image: ghcr.io/telemt/telemt@sha256:b311c20596213a3941dcd11f499be982de74f554eecfffe57fab51c1bf80d50a
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
workingDir: /run/telemt
|
workingDir: /run/telemt
|
||||||
args: ["/etc/telemt/config.toml"]
|
args: ["/app/config.toml"]
|
||||||
ports:
|
ports:
|
||||||
- name: proxy
|
- name: proxy
|
||||||
containerPort: 30443
|
containerPort: 30443
|
||||||
@@ -55,7 +55,8 @@ spec:
|
|||||||
drop: ["ALL"]
|
drop: ["ALL"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /etc/telemt
|
mountPath: /app/config.toml
|
||||||
|
subPath: classic.toml
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: workdir
|
- name: workdir
|
||||||
mountPath: /run/telemt
|
mountPath: /run/telemt
|
||||||
@@ -66,7 +67,7 @@ spec:
|
|||||||
defaultMode: 0444
|
defaultMode: 0444
|
||||||
items:
|
items:
|
||||||
- key: classic.toml
|
- key: classic.toml
|
||||||
path: config.toml
|
path: classic.toml
|
||||||
- name: workdir
|
- name: workdir
|
||||||
emptyDir:
|
emptyDir:
|
||||||
medium: Memory
|
medium: Memory
|
||||||
@@ -104,7 +105,7 @@ spec:
|
|||||||
image: ghcr.io/telemt/telemt@sha256:b311c20596213a3941dcd11f499be982de74f554eecfffe57fab51c1bf80d50a
|
image: ghcr.io/telemt/telemt@sha256:b311c20596213a3941dcd11f499be982de74f554eecfffe57fab51c1bf80d50a
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
workingDir: /run/telemt
|
workingDir: /run/telemt
|
||||||
args: ["/etc/telemt/config.toml"]
|
args: ["/app/config.toml"]
|
||||||
ports:
|
ports:
|
||||||
- name: proxy
|
- name: proxy
|
||||||
containerPort: 30444
|
containerPort: 30444
|
||||||
@@ -129,7 +130,8 @@ spec:
|
|||||||
drop: ["ALL"]
|
drop: ["ALL"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /etc/telemt
|
mountPath: /app/config.toml
|
||||||
|
subPath: tls.toml
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: workdir
|
- name: workdir
|
||||||
mountPath: /run/telemt
|
mountPath: /run/telemt
|
||||||
@@ -140,7 +142,7 @@ spec:
|
|||||||
defaultMode: 0444
|
defaultMode: 0444
|
||||||
items:
|
items:
|
||||||
- key: tls.toml
|
- key: tls.toml
|
||||||
path: config.toml
|
path: tls.toml
|
||||||
- name: workdir
|
- name: workdir
|
||||||
emptyDir:
|
emptyDir:
|
||||||
medium: Memory
|
medium: Memory
|
||||||
|
|||||||
Reference in new issue
Block a user