Skip to content

Commit

Permalink
fix osartifact chart
Browse files Browse the repository at this point in the history
  • Loading branch information
floreks committed Jan 30, 2025
1 parent 2a3c0c9 commit 9c0d922
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/osartifact/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ maintainers:
- name: Plural
email: [email protected]
type: application
version: 0.6.0
version: 0.6.1
6 changes: 3 additions & 3 deletions charts/osartifact/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9c0d922

Please sign in to comment.