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