Skip to content

Commit

Permalink
Ensure workers have access to Cloudflare secrets (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
c-w committed Nov 26, 2019
1 parent 23ccf90 commit 6b16936
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 10 additions & 0 deletions helm/templates/_helpers.tpl
Expand Up @@ -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:
Expand Down
10 changes: 0 additions & 10 deletions helm/templates/api-deployment.yaml
Expand Up @@ -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:
Expand Down

0 comments on commit 6b16936

Please sign in to comment.