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 protocol: TCP
volumeMounts: volumeMounts:
- name: credentials - name: credentials
mountPath: / mountPath: /credentials.yaml
readOnly: true
- mountPath: /var/logs - mountPath: /var/logs
name: custom-logs name: custom-logs
- mountPath: /museum.yaml - mountPath: /museum.yaml
@@ -49,9 +50,6 @@ spec:
- name: credentials - name: credentials
secret: secret:
secretName: ente-photos-config secretName: ente-photos-config
items:
- key: credentials.yaml
path: credentials.yaml
- name: custom-logs - name: custom-logs
persistentVolumeClaim: persistentVolumeClaim:
claimName: custom-logs claimName: custom-logs