Add credential secret as volume

This commit is contained in:
Ruben Hensen
2024-09-12 15:30:51 +02:00
parent 6eacd19272
commit 4ba5b839fc
+4 -1
View File
@@ -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