Skip to content

Commit

Permalink
fix: use stringdata instead of data in secret
Browse files Browse the repository at this point in the history
Co-authored-by: Pavel Sorokin <[email protected]>
  • Loading branch information
aarlaud and pavel-snyk authored May 7, 2024
1 parent 698374d commit 4d8be87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/snyk-broker/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ kind: Secret
metadata:
name: {{ .Values.scmType}}-token{{if not .Values.disableSuffixes }}-{{ .Release.Name }}{{ end }}
type: Opaque
data:
"{{ .Values.scmType}}-token-key": {{ .Values.bitbucketPat | b64enc | quote }}
stringData:
"{{ .Values.scmType}}-token-key": {{ .Values.bitbucketPat | quote }}
---
{{- end }}
{{- if .Values.azureReposToken }}
Expand Down

0 comments on commit 4d8be87

Please sign in to comment.