From 5c5076fc39d983982cf9e7d81b6e94672c538acd Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Thu, 12 Sep 2024 15:38:01 +0200 Subject: [PATCH] Add credential secret as volume 5 --- ente-photos/ente-deployment.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ente-photos/ente-deployment.yaml b/ente-photos/ente-deployment.yaml index 07b1356..5caf273 100644 --- a/ente-photos/ente-deployment.yaml +++ b/ente-photos/ente-deployment.yaml @@ -30,7 +30,8 @@ spec: protocol: TCP volumeMounts: - name: credentials - mountPath: / + mountPath: /credentials.yaml + readOnly: true - mountPath: /var/logs name: custom-logs - mountPath: /museum.yaml @@ -49,9 +50,6 @@ spec: - name: credentials secret: secretName: ente-photos-config - items: - - key: credentials.yaml - path: credentials.yaml - name: custom-logs persistentVolumeClaim: claimName: custom-logs