fixing env

This commit is contained in:
Damien Ostler 2024-02-10 01:34:47 -05:00
parent d6aa8af421
commit 18e942a7b9

View File

@ -31,6 +31,11 @@ spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: Database__Host
value: '{{ .Values.postgresDatabase }}'
@ -42,11 +47,6 @@ spec:
value: '{{ .Values.postgresUser }}'
- name: Database__password
value: '{{ .Values.postgresPassword }}'
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: {{ .Values.service.port }}