From a697b0f27322dedfeb7dc02dc87790bbadd2cbef Mon Sep 17 00:00:00 2001 From: Johannes Kirchner <124351955+johannes-kirchner@users.noreply.github.com> Date: Sun, 8 Mar 2026 22:50:07 +0100 Subject: [PATCH] fix: port template string and updateStrategy indentation (#643) --- helm/opengist/templates/secret.yaml | 2 +- helm/opengist/templates/statefulset.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/opengist/templates/secret.yaml b/helm/opengist/templates/secret.yaml index e1ca474..8740205 100644 --- a/helm/opengist/templates/secret.yaml +++ b/helm/opengist/templates/secret.yaml @@ -25,7 +25,7 @@ {{- $user := default "" .Values.postgresql.global.postgresql.auth.username }} {{- $pass := default "" .Values.postgresql.global.postgresql.auth.password }} {{- $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 "") }} {{- fail "postgresql.enabled=true requires username/password/database (postgresql.global.postgresql.auth.*) or set config.db-uri manually" }} {{- end }} diff --git a/helm/opengist/templates/statefulset.yaml b/helm/opengist/templates/statefulset.yaml index ca3b4fe..a5564c0 100644 --- a/helm/opengist/templates/statefulset.yaml +++ b/helm/opengist/templates/statefulset.yaml @@ -84,7 +84,7 @@ spec: serviceName: {{ include "opengist.fullname" . }}-http podManagementPolicy: {{ .Values.statefulSet.podManagementPolicy }} updateStrategy: - {{- toYaml .Values.statefulSet.updateStrategy | nindent 2 }} + {{- toYaml .Values.statefulSet.updateStrategy | nindent 4 }} selector: matchLabels: {{- include "opengist.selectorLabels" . | nindent 6 }}