fix: port template string and updateStrategy indentation (#643)
This commit is contained in:
committed by
GitHub
parent
33cbfb0904
commit
a697b0f273
@@ -25,7 +25,7 @@
|
|||||||
{{- $user := default "" .Values.postgresql.global.postgresql.auth.username }}
|
{{- $user := default "" .Values.postgresql.global.postgresql.auth.username }}
|
||||||
{{- $pass := default "" .Values.postgresql.global.postgresql.auth.password }}
|
{{- $pass := default "" .Values.postgresql.global.postgresql.auth.password }}
|
||||||
{{- $db := default "" .Values.postgresql.global.postgresql.auth.database }}
|
{{- $db := default "" .Values.postgresql.global.postgresql.auth.database }}
|
||||||
{{- $port := default 5432 .Values.postgresql.global.postgresql.service.ports.postgresql }}
|
{{- $port := int (default 5432 .Values.postgresql.global.postgresql.service.ports.postgresql) }}
|
||||||
{{- if or (eq $user "") (eq $pass "") (eq $db "") }}
|
{{- if or (eq $user "") (eq $pass "") (eq $db "") }}
|
||||||
{{- fail "postgresql.enabled=true requires username/password/database (postgresql.global.postgresql.auth.*) or set config.db-uri manually" }}
|
{{- fail "postgresql.enabled=true requires username/password/database (postgresql.global.postgresql.auth.*) or set config.db-uri manually" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ spec:
|
|||||||
serviceName: {{ include "opengist.fullname" . }}-http
|
serviceName: {{ include "opengist.fullname" . }}-http
|
||||||
podManagementPolicy: {{ .Values.statefulSet.podManagementPolicy }}
|
podManagementPolicy: {{ .Values.statefulSet.podManagementPolicy }}
|
||||||
updateStrategy:
|
updateStrategy:
|
||||||
{{- toYaml .Values.statefulSet.updateStrategy | nindent 2 }}
|
{{- toYaml .Values.statefulSet.updateStrategy | nindent 4 }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "opengist.selectorLabels" . | nindent 6 }}
|
{{- include "opengist.selectorLabels" . | nindent 6 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user