Skip to content

Commit

Permalink
CH-170 fix for empty secrets reset
Browse files Browse the repository at this point in the history
  • Loading branch information
filippomc committed Jan 16, 2025
1 parent 53d68ee commit 77852b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deployment-configuration/helm/templates/auto-secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ type: Opaque
{{- $secret := (lookup "v1" "Secret" .root.Values.namespace $secret_name) }}
{{/*- $secret := dict "data" (dict "test" "test") */}}
stringData:
updated: {{ now | quote }} # Added because in case of update, if no field is updated, alla data is erased
{{- if $secret }}
{{- range $k, $v := .app.harness.secrets }}
{{- if $v }}
Expand Down

0 comments on commit 77852b7

Please sign in to comment.