From 4ba5b839fc80ba47478e59455ea4220e15bf7c95 Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Thu, 12 Sep 2024 15:30:51 +0200 Subject: [PATCH] Add credential secret as volume --- ente-photos/ente-deployment.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ente-photos/ente-deployment.yaml b/ente-photos/ente-deployment.yaml index 017902c..55977ad 100644 --- a/ente-photos/ente-deployment.yaml +++ b/ente-photos/ente-deployment.yaml @@ -32,6 +32,9 @@ spec: - containerPort: 2112 protocol: TCP volumeMounts: + - name: credentials + mountPath: "/" + readOnly: true - mountPath: /var/logs name: custom-logs - mountPath: /museum.yaml @@ -52,7 +55,7 @@ spec: secretName: ente-photos-config items: - key: credentials.yaml - path: / + path: credentials.yaml - name: custom-logs persistentVolumeClaim: claimName: custom-logs