From 5314eb176546629cc24cb6502fbf02600c226b88 Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Thu, 12 Sep 2024 15:42:21 +0200 Subject: [PATCH] Add credential secret as volume 6 --- ente-photos/ente-deployment.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ente-photos/ente-deployment.yaml b/ente-photos/ente-deployment.yaml index 5caf273..77b2d92 100644 --- a/ente-photos/ente-deployment.yaml +++ b/ente-photos/ente-deployment.yaml @@ -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