feat: add helm chart for deploying the app on k8s
This commit is contained in:
parent
aaa1eff0fe
commit
cbaa5272ef
13 changed files with 261 additions and 0 deletions
8
deploy/k8s/templates/config.yaml
Normal file
8
deploy/k8s/templates/config.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ .Release.Name }}
|
||||
data:
|
||||
APP_ENV: "production"
|
||||
APP_PORT: {{ .Values.config.port | quote }}
|
||||
DATABASE_URL_FILE: "/etc/backoffice-api/secrets/database_url"
|
||||
Reference in a new issue