fix osartifact chart

This commit is contained in:
Sebastian Florek 2025-01-30 19:36:32 +01:00
parent 2a3c0c9f33
commit 9c0d92253e
No known key found for this signature in database
GPG Key ID: DBC7C083B0200A0F
2 changed files with 4 additions and 4 deletions

View File

@ -5,4 +5,4 @@ maintainers:
- name: Plural
email: support@plural.sh
type: application
version: 0.6.0
version: 0.6.1

View File

@ -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