Skip to content

Commit

Permalink
Fix recaptcha helm chart integration
Browse files Browse the repository at this point in the history
  • Loading branch information
carlobeltrame committed May 4, 2022
1 parent 008b7a0 commit 9e847ee
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .helm/ecamp3/templates/api_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ spec:
secretKeyRef:
name: {{ include "api.name" . }}
key: mercure-jwt-secret
- name: RECAPTCHA_SECRET
valueFrom:
secretKeyRef:
name: {{ include "api.name" . }}
key: recaptcha-secret
volumeMounts:
- mountPath: /var/run/php
name: php-socket
Expand Down
2 changes: 1 addition & 1 deletion .helm/ecamp3/templates/api_secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ data:
{{- else if .Values.mail.dsn }}
mailer-dsn: {{ .Values.mail.dsn | b64enc | quote }}
{{- end }}
RECAPTCHA_SECRET: {{ .Values.recaptcha.secret | quote }}
recaptcha-secret: {{ .Values.recaptcha.secret | b64enc | quote }}
4 changes: 4 additions & 0 deletions .helm/ecamp3/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ postgresql:
repository: bitnami/postgresql
tag: 14

recaptcha:
siteKey:
secret:

serviceAccount:
# Specifies whether a service account should be created
create: true
Expand Down

0 comments on commit 9e847ee

Please sign in to comment.