Skip to content

Commit

Permalink
fix: simplify heredoc format
Browse files Browse the repository at this point in the history
Signed-off-by: Tarun Gupta Akirala <[email protected]>
  • Loading branch information
takirala committed Jan 28, 2025
1 parent 8552c95 commit 8aad77d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions stable/cosi-bucket-kit/templates/job-readiness.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,13 @@ spec:
--dry-run=client -o yaml | kubectl apply -f -
# Create a configmap with the name of the secret from above.
kubectl create configmap {{ $cmName }} -n {{ $cmNamespace }} \
--from-file=values.yaml=<(cat <<EOF
persistence:
imageChartStorage:
type: s3
s3:
existingSecret: {{ .credentialsSecretName }}
EOF
--from-file=values.yaml=<(cat <<'EOF'
persistence:
imageChartStorage:
type: s3
s3:
existingSecret: {{ .credentialsSecretName }}
EOF
) \
--dry-run=client -o yaml | kubectl apply -f -
{{- end }}
Expand Down

0 comments on commit 8aad77d

Please sign in to comment.