a03e83f9 by Adam Heath

Fix checkDsConnection.enabled setting.

1 parent 40395c06
...@@ -31,7 +31,7 @@ spec: ...@@ -31,7 +31,7 @@ spec:
31 securityContext: 31 securityContext:
32 {{- toYaml .Values.podSecurityContext | nindent 8 }} 32 {{- toYaml .Values.podSecurityContext | nindent 8 }}
33 initContainers: 33 initContainers:
34 {{- if and (eq .Values.configMap.entity_ds_db_conf "postgres") (.Values.checkDsConnection) }} 34 {{- if and (eq .Values.configMap.entity_ds_db_conf "postgres") (.Values.checkDsConnection.enabled) }}
35 - name: postgresql-check-connection 35 - name: postgresql-check-connection
36 image: "{{ .Values.postgresql.image.registry }}/{{ .Values.postgresql.image.repository }}:{{ .Values.postgresql.image.tag }}" 36 image: "{{ .Values.postgresql.image.registry }}/{{ .Values.postgresql.image.repository }}:{{ .Values.postgresql.image.tag }}"
37 imagePullPolicy: {{ .Values.postgresql.image.pullPolicy }} 37 imagePullPolicy: {{ .Values.postgresql.image.pullPolicy }}
......