Skip to content

Commit

Permalink
fix secret data field (#94)
Browse files Browse the repository at this point in the history
This chart was not encoding the data values as base64 or using stringData which results in an invalid secret value.
This changes the field to use stringData which will encode the value on apply.

Signed-off-by: Mike Mason <mimason@equinix.com>
  • Loading branch information
mikemrm authored Oct 14, 2024
1 parent 99f6d15 commit abb6932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chart/iam-runtime-infratographer/templates/_secrets.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ kind: Secret
metadata:
name: {{ include "iam-runtime-infratographer.resource.fullname" (dict "suffix" "secrets" "context" $) | quote }}
labels: {{- include "common.labels.standard" $ | nindent 4 }}
data:
stringData:
{{- with $values.config.events.nats.token }}
IAMRUNTIME_EVENTS_NATS_TOKEN: {{ quote . }}
{{- end }}
Expand Down

0 comments on commit abb6932

Please sign in to comment.