Skip to content

Commit

Permalink
fix: switch secret data to stringData (#710)
Browse files Browse the repository at this point in the history
## Description
Fixes deployment errors with the operator helm chart not properly
handling integer helm values.


## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [ ] Test, docs, adr added or updated as needed
- [ ] [Contributor
Guide](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md)
followed
  • Loading branch information
noahpb authored Aug 28, 2024
1 parent c4dbdf8 commit 9323d4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pepr/uds-operator-config/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
{{- include "uds-operator-config.labels" . | nindent 4 }}
type: Opaque
data:
stringData:
{{- range $key, $value := .Values.operator }}
{{ $key }}: {{ $value | b64enc | quote }}
{{ $key }}: {{ $value | quote }}
{{- end }}

0 comments on commit 9323d4e

Please sign in to comment.