Skip to content

Commit

Permalink
add missing parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
chaospuppy committed Nov 22, 2024
1 parent 54ab9c2 commit 980001a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chart/templates/app-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{{- $existingSecret := lookup "v1" "Secret" "minio" (printf "minio-%s" .name) }}
{{- $password := (.password | default (randAlphaNum 32)) | b64enc }}
{{- if and (($existingSecret) (not .password) ) }}
{{- if and ($existingSecret) (not .password) }}
{{- $decoded := index $existingSecret.data "secretKey" }}
{{- $password = $decoded }}
{{- end }}
Expand Down

0 comments on commit 980001a

Please sign in to comment.