Skip to content

Commit

Permalink
[keycloak] Apply secret type configured in values file (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
WaylandWong authored Feb 21, 2021
1 parent 37e7f12 commit 2712ba0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/keycloak/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: keycloak
version: 9.9.4
version: 9.9.5
appVersion: 11.0.3
description: Open Source Identity and Access Management For Modern Applications and Services
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/keycloak/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ metadata:
{{- range $key, $value := $values.labels }}
{{- printf "%s: %s" $key (tpl $value $ | quote) | nindent 4 }}
{{- end }}
type: Opaque
type: {{ default "Opaque" $values.type }}
{{- with $values.data }}
data:
{{- toYaml . | nindent 2 }}
Expand Down
1 change: 1 addition & 0 deletions charts/keycloak/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ statefulsetLabels: {}
# Configuration for secrets that should be created
secrets: {}
# mysecret:
# type: {}
# annotations: {}
# labels: {}
# stringData: {}
Expand Down

0 comments on commit 2712ba0

Please sign in to comment.