diff --git a/charts/osartifact/Chart.yaml b/charts/osartifact/Chart.yaml index 22b2464..e26d5a7 100644 --- a/charts/osartifact/Chart.yaml +++ b/charts/osartifact/Chart.yaml @@ -5,4 +5,4 @@ maintainers: - name: Plural email: support@plural.sh type: application -version: 0.6.0 \ No newline at end of file +version: 0.6.1 \ No newline at end of file diff --git a/charts/osartifact/templates/secret.yaml b/charts/osartifact/templates/secret.yaml index 40cd574..1a4aa11 100644 --- a/charts/osartifact/templates/secret.yaml +++ b/charts/osartifact/templates/secret.yaml @@ -7,9 +7,9 @@ {{ $password := index $passwordSecret.data .Values.passwordSecret.key | b64dec }} {{ $dockerUserPassword := "" }} -{{- if .Values.exporter.passwordSecret.name }} - {{ $dockerUserPasswordSecret := (lookup "v1" "Secret" .Release.Namespace .Values.exporter.passwordSecret.name )}} - {{ $dockerUserPassword = index $dockerUserPasswordSecret.data .Values.exporter.passwordSecret.key | b64dec }} +{{- if .Values.exporter.registry.passwordSecret.name }} + {{ $dockerUserPasswordSecret := (lookup "v1" "Secret" .Release.Namespace .Values.exporter.registry.passwordSecret.name )}} + {{ $dockerUserPassword = index $dockerUserPasswordSecret.data .Values.exporter.registry.passwordSecret.key | b64dec }} {{- end }} kind: Secret