Skip to content

Commit

Permalink
feat(charts): add kafkaSecrets as b64 values (#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahantschel authored Mar 9, 2021
1 parent 646ca67 commit 6a106a9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion helm/akhq/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,9 @@ metadata:
type: Opaque
data:
application-secrets.yml: {{.Values.secrets| b64enc | quote }}
{{- end }}
{{- if .Values.kafkaSecrets }}
{{- range $key, $value := .Values.kafkaSecrets }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}
3 changes: 3 additions & 0 deletions helm/akhq/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ secrets: |
basic-auth-username: basic-auth-user
basic-auth-password: basic-auth-pass
kafkaSecrets: []
#Provide extra base64 encoded kubernetes secrets (keystore/truststore)

# Any extra volumes to define for the pod (like keystore/truststore)
extraVolumes: []

Expand Down

0 comments on commit 6a106a9

Please sign in to comment.