diff --git a/helm/templates/_helpers.tpl b/helm/templates/_helpers.tpl index 18ec5f34..11945be3 100644 --- a/helm/templates/_helpers.tpl +++ b/helm/templates/_helpers.tpl @@ -36,6 +36,16 @@ secretKeyRef: name: azure key: LOKOLE_EMAIL_SERVER_APPINSIGHTS_KEY + - name: LOKOLE_CLOUDFLARE_USER + valueFrom: + secretKeyRef: + name: cloudflare + key: LOKOLE_CLOUDFLARE_USER + - name: LOKOLE_CLOUDFLARE_KEY + valueFrom: + secretKeyRef: + name: cloudflare + key: LOKOLE_CLOUDFLARE_KEY - name: LOKOLE_SENDGRID_KEY valueFrom: secretKeyRef: diff --git a/helm/templates/api-deployment.yaml b/helm/templates/api-deployment.yaml index 6394612c..f66adbde 100644 --- a/helm/templates/api-deployment.yaml +++ b/helm/templates/api-deployment.yaml @@ -27,16 +27,6 @@ spec: - name: SERVER_WORKERS value: "{{.Values.server.serverWorkers}}" {{ include "opwen.environment.shared" . }} - - name: LOKOLE_CLOUDFLARE_USER - valueFrom: - secretKeyRef: - name: cloudflare - key: LOKOLE_CLOUDFLARE_USER - - name: LOKOLE_CLOUDFLARE_KEY - valueFrom: - secretKeyRef: - name: cloudflare - key: LOKOLE_CLOUDFLARE_KEY - name: REGISTRATION_USERNAME valueFrom: secretKeyRef: