mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-19 02:52:56 +02:00
Add credential secret as volume
This commit is contained in:
@@ -37,9 +37,6 @@ spec:
|
||||
- mountPath: /museum.yaml
|
||||
name: museum-claim1
|
||||
readOnly: true
|
||||
- mountPath: /credentials.yaml
|
||||
name: museum-claim2
|
||||
readOnly: true
|
||||
- mountPath: /data
|
||||
name: museum-claim3
|
||||
readOnly: true
|
||||
@@ -50,6 +47,12 @@ spec:
|
||||
# name: socat
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: credentials
|
||||
secret:
|
||||
secretName: ente-photos-config
|
||||
items:
|
||||
- key: credentials.yaml
|
||||
path: /
|
||||
- name: custom-logs
|
||||
persistentVolumeClaim:
|
||||
claimName: custom-logs
|
||||
@@ -57,10 +60,6 @@ spec:
|
||||
persistentVolumeClaim:
|
||||
claimName: museum-claim1
|
||||
readOnly: true
|
||||
- name: museum-claim2
|
||||
persistentVolumeClaim:
|
||||
claimName: museum-claim2
|
||||
readOnly: true
|
||||
- name: museum-claim3
|
||||
persistentVolumeClaim:
|
||||
claimName: museum-claim3
|
||||
|
||||
Reference in New Issue
Block a user