Add credential secret as volume 6

This commit is contained in:
Ruben Hensen
2024-09-12 15:42:21 +02:00
parent 5c5076fc39
commit 5314eb1765
+5 -5
View File
@@ -17,12 +17,12 @@ spec:
containers:
- env:
- name: ENTE_CREDENTIALS_FILE
value: /credentials.yaml
value: /credentials/credentials.yaml
image: ghcr.io/ente-io/server
name: museum
command: [ "sh", "-c"]
# loop forever, outputting "yo" every 5 seconds
args: ["while true; do echo 'yo' && sleep 5; done;"]
# command: [ "sh", "-c"]
# # loop forever, outputting "yo" every 5 seconds
# args: ["while true; do echo 'yo' && sleep 5; done;"]
ports:
- containerPort: 8080
protocol: TCP
@@ -30,7 +30,7 @@ spec:
protocol: TCP
volumeMounts:
- name: credentials
mountPath: /credentials.yaml
mountPath: /credentials
readOnly: true
- mountPath: /var/logs
name: custom-logs