Skip to content

Commit f0fea6b

Browse files
committed
make kubectlClientSecret optional
1 parent b656fdd commit f0fea6b

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

charts/identity/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
apiVersion: v1
66
description: A Helm chart for kubernetes identity server
77
name: identity
8-
version: 0.2.0
8+
version: 3.0.0

charts/identity/templates/_versions.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ apps/v1
1313

1414
{{- define "ingressversion" -}}
1515
networking.k8s.io/v1
16-
{{- end -}}
16+
{{- end -}}

charts/identity/templates/configmap.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ data:
4646
{{ toYaml .Values.additionalTrustedPeers | trim | indent 6 }}
4747
{{- end }}
4848
name: Kubectl
49+
{{- if .Values.kubectlClientSecret }}
4950
secret: {{ .Values.kubectlClientSecret }}
51+
{{- end }}
5052
{{- if .Values.additionalStaticClients }}
5153
{{ toYaml .Values.additionalStaticClients | trim | indent 4 }}
5254
{{- end }}

charts/identity/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ dashboardOrigins:
3636
- 'https://dashboard.example.org'
3737
- 'http://localhost:8080'
3838
dashboardClientSecret: sHq4vLoiQcIWbO3h
39-
kubectlClientSecret: if6ji0dTFE4rQfj8
39+
#kubectlClientSecret: if6ji0dTFE4rQfj8
4040

4141
additionalStaticClients: ~
4242
# - name: additional identity example client

0 commit comments

Comments
 (0)