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: containers:
- env: - env:
- name: ENTE_CREDENTIALS_FILE - name: ENTE_CREDENTIALS_FILE
value: /credentials.yaml value: /credentials/credentials.yaml
image: ghcr.io/ente-io/server image: ghcr.io/ente-io/server
name: museum name: museum
command: [ "sh", "-c"] # command: [ "sh", "-c"]
# loop forever, outputting "yo" every 5 seconds # # loop forever, outputting "yo" every 5 seconds
args: ["while true; do echo 'yo' && sleep 5; done;"] # args: ["while true; do echo 'yo' && sleep 5; done;"]
ports: ports:
- containerPort: 8080 - containerPort: 8080
protocol: TCP protocol: TCP
@@ -30,7 +30,7 @@ spec:
protocol: TCP protocol: TCP
volumeMounts: volumeMounts:
- name: credentials - name: credentials
mountPath: /credentials.yaml mountPath: /credentials
readOnly: true readOnly: true
- mountPath: /var/logs - mountPath: /var/logs
name: custom-logs name: custom-logs