From aca3d1f45de742baba9ae9900535f27d7d7875e0 Mon Sep 17 00:00:00 2001 From: Tommy Skaug <104122981+tommy-skaug@users.noreply.github.com> Date: Sat, 6 Apr 2024 18:02:23 +0200 Subject: [PATCH] feat: add envFromSecret --- charts/paperless-ngx/templates/deployment-server.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/paperless-ngx/templates/deployment-server.yaml b/charts/paperless-ngx/templates/deployment-server.yaml index 32bd441..6df0744 100644 --- a/charts/paperless-ngx/templates/deployment-server.yaml +++ b/charts/paperless-ngx/templates/deployment-server.yaml @@ -31,6 +31,9 @@ metadata: value: /PATHPREFIX - name: PAPERLESS_STATIC_URL value: /PATHPREFIX/static/ + envFrom: &envFrom + - secretRef: + name: {{ .Values.envFromSecret }} resources: limits: memory: "128Mi" @@ -45,4 +48,4 @@ metadata: volumes: - name: {{ include "paperless-ngx.fullname" . }}-server persistentVolumeClaim: - claimName: {{ .Values.persistence.existingClaim }} \ No newline at end of file + claimName: {{ .Values.persistence.existingClaim }}