From 9c0d92253ea829ece53497d309cf563a5b93778b Mon Sep 17 00:00:00 2001 From: Sebastian Florek Date: Thu, 30 Jan 2025 19:36:32 +0100 Subject: [PATCH] fix osartifact chart --- charts/osartifact/Chart.yaml | 2 +- charts/osartifact/templates/secret.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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