From 317f7978c3ca3553496c1bed84f81eea6f33284f Mon Sep 17 00:00:00 2001 From: kandrusyak Date: Tue, 4 Jul 2023 02:04:13 +0300 Subject: [PATCH] add envs --- deploy/templates/deployment.yaml | 3 ++- deploy/values.template.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy/templates/deployment.yaml b/deploy/templates/deployment.yaml index 6be00cb..7eb0aba 100644 --- a/deploy/templates/deployment.yaml +++ b/deploy/templates/deployment.yaml @@ -29,8 +29,9 @@ spec: value: {{ .Values.app.server.port | quote }} - name: CONNECTION_STRING value: /app/test.db + {{- .Values.envs | toYaml | nindent 12 }} - image: {{ .Values.app.image }}:{{ .Chart.AppVersion }} #"docker-registry.dopcore.com/andrusyakka/urban-couscous:latest" + image: {{ .Values.app.image }}:{{ .Chart.AppVersion }} imagePullPolicy: Always ports: - name: http diff --git a/deploy/values.template.yaml b/deploy/values.template.yaml index 6d3674f..0adf226 100644 --- a/deploy/values.template.yaml +++ b/deploy/values.template.yaml @@ -13,4 +13,4 @@ ingress: enabled: false autoscaling: - enabled: false \ No newline at end of file + enabled: false