feat: add helm chart
This commit is contained in:
parent
7d3852150b
commit
d454ec8fc9
12 changed files with 231 additions and 0 deletions
12
charts/backoffice/templates/secret-nextauth.yaml
Normal file
12
charts/backoffice/templates/secret-nextauth.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ .Release.Name }}-nextauth
|
||||
annotations:
|
||||
"helm.sh/hook": pre-install,pre-upgrade
|
||||
"helm.sh/hook-weight": "-15"
|
||||
stringData:
|
||||
NEXTAUTH_SECRET: {{ .Values.backoffice.secrets.nextauthSecret }}
|
||||
GOOGLE_CLIENT_ID: {{ .Values.backoffice.secrets.googleClientID }}
|
||||
GOOGLE_CLIENT_SECRET: {{ .Values.backoffice.secrets.googleClientSecret }}
|
||||
Reference in a new issue