Add credential secret as volume 5

This commit is contained in:
Ruben Hensen
2024-09-12 15:38:01 +02:00
parent 74f4604637
commit 5c5076fc39
+2 -4
View File
@@ -30,7 +30,8 @@ spec:
protocol: TCP
volumeMounts:
- name: credentials
mountPath: /
mountPath: /credentials.yaml
readOnly: true
- mountPath: /var/logs
name: custom-logs
- mountPath: /museum.yaml
@@ -49,9 +50,6 @@ spec:
- name: credentials
secret:
secretName: ente-photos-config
items:
- key: credentials.yaml
path: credentials.yaml
- name: custom-logs
persistentVolumeClaim:
claimName: custom-logs