mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-18 10:32:55 +02:00
Add credential secret as volume
This commit is contained in:
@@ -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