Skip to content

Commit

Permalink
make kubectlClientSecret optional
Browse files Browse the repository at this point in the history
  • Loading branch information
lotharbach committed Feb 3, 2023
1 parent b656fdd commit f0fea6b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/identity/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
apiVersion: v1
description: A Helm chart for kubernetes identity server
name: identity
version: 0.2.0
version: 3.0.0
2 changes: 1 addition & 1 deletion charts/identity/templates/_versions.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ apps/v1

{{- define "ingressversion" -}}
networking.k8s.io/v1
{{- end -}}
{{- end -}}
2 changes: 2 additions & 0 deletions charts/identity/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ data:
{{ toYaml .Values.additionalTrustedPeers | trim | indent 6 }}
{{- end }}
name: Kubectl
{{- if .Values.kubectlClientSecret }}
secret: {{ .Values.kubectlClientSecret }}
{{- end }}
{{- if .Values.additionalStaticClients }}
{{ toYaml .Values.additionalStaticClients | trim | indent 4 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/identity/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dashboardOrigins:
- 'https://dashboard.example.org'
- 'http://localhost:8080'
dashboardClientSecret: sHq4vLoiQcIWbO3h
kubectlClientSecret: if6ji0dTFE4rQfj8
#kubectlClientSecret: if6ji0dTFE4rQfj8

additionalStaticClients: ~
# - name: additional identity example client
Expand Down

0 comments on commit f0fea6b

Please sign in to comment.