mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-16 14:29:09 +01:00
Add credential secret as volume
This commit is contained in:
1 parent
6eacd19272
commit
4ba5b839fc
1 file changed
+4
-1
@@ -32,6 +32,9 @@ spec:
|
|||||||
- containerPort: 2112
|
- containerPort: 2112
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
- name: credentials
|
||||||
|
mountPath: "/"
|
||||||
|
readOnly: true
|
||||||
- mountPath: /var/logs
|
- mountPath: /var/logs
|
||||||
name: custom-logs
|
name: custom-logs
|
||||||
- mountPath: /museum.yaml
|
- mountPath: /museum.yaml
|
||||||
@@ -52,7 +55,7 @@ spec:
|
|||||||
secretName: ente-photos-config
|
secretName: ente-photos-config
|
||||||
items:
|
items:
|
||||||
- key: credentials.yaml
|
- key: credentials.yaml
|
||||||
path: /
|
path: credentials.yaml
|
||||||
- name: custom-logs
|
- name: custom-logs
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: custom-logs
|
claimName: custom-logs
|
||||||
|
|||||||
Reference in new issue
Block a user