feat: add helm chart
This commit is contained in:
parent
7d3852150b
commit
d454ec8fc9
12 changed files with 231 additions and 0 deletions
11
charts/backoffice/templates/configmap.yaml
Normal file
11
charts/backoffice/templates/configmap.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
kind: kind: ConfigMap
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: {{ .Release.Name }}-config
|
||||
annotations:
|
||||
"helm.sh/hook": pre-install,pre-upgrade
|
||||
"helm.sh/hook-weight": "-15"
|
||||
data:
|
||||
NODE_ENV: {{ .Values.env }}
|
||||
NEXTAUTH_URL: "https://{{ .Values.ingress.host }}/"
|
||||
PORT: {{ .Values.service.portNumber | quote }}
|
||||
Reference in a new issue