diff --git a/charts/headwind-mdm/Chart.yaml b/charts/headwind-mdm/Chart.yaml index 093ad1d8..ec259f65 100644 --- a/charts/headwind-mdm/Chart.yaml +++ b/charts/headwind-mdm/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: headwind-mdm description: Headwind MDM - an open source mobile device management software for Android type: application -version: 1.8.0 +version: 1.9.0 appVersion: "0.1.2" home: https://github.com/christianknell/helm-charts icon: https://h-mdm.com/wp-content/uploads/2019/07/neew-logo.png @@ -16,12 +16,14 @@ sources: dependencies: - name: postgresql repository: https://charts.bitnami.com/bitnami - version: 12.10.0 + version: 12.12.10 condition: postgresql.enabled annotations: artifacthub.io/changes: | - kind: changed - description: bumped dependency of postgresql to chart version 12.10.0 + description: bumped dependency of postgresql to chart version 12.12.10 + - kind: fixed + description: wrong template name for postgresql dependency artifacthub.io/screenshots: | - title: Headwind MDM is a powerful Open Source platform to manage your Enterprise Android Devices. url: https://images.wondershare.com/drfone/article/2022/11/opensource-mdm-3.jpg diff --git a/charts/headwind-mdm/templates/_helpers.tpl b/charts/headwind-mdm/templates/_helpers.tpl index 60f5fc12..44450296 100644 --- a/charts/headwind-mdm/templates/_helpers.tpl +++ b/charts/headwind-mdm/templates/_helpers.tpl @@ -66,7 +66,7 @@ Return the hostname of the postgresql to use */}} {{- define "headwind-mdm.postgresql.hostname" -}} {{- if .Values.postgresql.enabled -}} - {{- printf "%s" (include "postgresql.primary.fullname" .Subcharts.postgresql) -}} + {{- printf "%s" (include "postgresql.v1.primary.fullname" .Subcharts.postgresql) -}} {{- else -}} {{- printf "%s" (tpl .Values.externalPostgresql.hostname $) -}} {{- end -}} @@ -77,7 +77,7 @@ Return postgresql service port */}} {{- define "headwind-mdm.postgresql.port" -}} {{- if .Values.postgresql.enabled -}} - {{- printf "%s" (include "postgresql.service.port" .Subcharts.postgresql) -}} + {{- printf "%s" (include "postgresql.v1.service.port" .Subcharts.postgresql) -}} {{- else -}} {{- printf "%s" (tpl (toString .Values.externalPostgresql.port) $) -}} {{- end -}} @@ -88,7 +88,7 @@ Return the name for the database to use */}} {{- define "headwind-mdm.postgresql.database" -}} {{- if .Values.postgresql.enabled -}} - {{- printf "%s" (include "postgresql.database" .Subcharts.postgresql) -}} + {{- printf "%s" (include "postgresql.v1.database" .Subcharts.postgresql) -}} {{- else -}} {{- printf "%s" (tpl .Values.externalPostgresql.auth.database $) -}} {{- end -}} @@ -99,7 +99,7 @@ Return the name for the user to use */}} {{- define "headwind-mdm.postgresql.username" -}} {{- if .Values.postgresql.enabled -}} - {{- printf "%s" (include "postgresql.username" .Subcharts.postgresql) -}} + {{- printf "%s" (include "postgresql.v1.username" .Subcharts.postgresql) -}} {{- else -}} {{- printf "%s" (tpl .Values.externalPostgresql.auth.username $) -}} {{- end -}} @@ -110,7 +110,7 @@ Get the name of the secret containing the postgresql user password */}} {{- define "headwind-mdm.postgresql.secretName" -}} {{- if .Values.postgresql.enabled -}} - {{- printf "%s" (include "postgresql.secretName" .Subcharts.postgresql) -}} + {{- printf "%s" (include "postgresql.v1.secretName" .Subcharts.postgresql) -}} {{- else if .Values.externalPostgresql.auth.existingSecret -}} {{- printf "%s" (tpl .Values.externalPostgresql.auth.existingSecret $) -}} {{- else -}} @@ -123,7 +123,7 @@ Get the user-password key for the postgresql user password */}} {{- define "headwind-mdm.postgresql.userPasswordKey" -}} {{- if .Values.postgresql.enabled -}} - {{- printf "%s" (include "postgresql.userPasswordKey" .Subcharts.postgresql) -}} + {{- printf "%s" (include "postgresql.v1.userPasswordKey" .Subcharts.postgresql) -}} {{- else if .Values.externalPostgresql.auth.userPasswordKey -}} {{- printf "%s" (tpl .Values.externalPostgresql.auth.userPasswordKey $) -}} {{- else -}}