Skip to content

Commit

Permalink
Merge pull request #47 from Tom-Slattery/main
Browse files Browse the repository at this point in the history
Remove duplicate comment within yaml if that causes Helm Upgrade failure
  • Loading branch information
Tom-Slattery authored Sep 3, 2024
2 parents 845ebcd + a2f64ea commit 4b9058f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/ecosystem/templates/couchdb-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{{- $existingSecret := (lookup "v1" "Secret" .Release.Namespace $couchdbSecretName) }}
{{- if $existingSecret }}
{{- $user = printf (index $existingSecret.data "COUCHDB_USER") | b64dec }}
{{- $password = printf (index $existingSecret.data "COUCHDB_PASSWORD") | b64dec }} #Not a secret but logic for a kube secret #pragma: allowlist secret
{{- $password = printf (index $existingSecret.data "COUCHDB_PASSWORD") | b64dec }}
{{- end -}}


Expand All @@ -16,5 +16,5 @@ metadata:
type: Opaque
stringData:
COUCHDB_USER: "{{ $user }}"
COUCHDB_PASSWORD: "{{ $password }}" #Not a secret but logic for a kube secret #pragma: allowlist secret
COUCHDB_PASSWORD: "{{ $password }}" #Not a secret but logic for a kube secret #pragma: allowlist secret
GALASA_RAS_TOKEN: "{{ printf "%s:%s" $user $password | b64enc }}"

0 comments on commit 4b9058f

Please sign in to comment.