Skip to content

Commit

Permalink
Omit client secret from AzureClusterIdentity if value is not set (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jont828 authored May 20, 2024
1 parent 2cc33f4 commit 540dcdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/azure-managed-cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ type: application
maintainers:
- email: [email protected]
name: Jont828
version: 0.2.1
version: 0.2.2
appVersion: 1.16.0
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ spec:
allowedNamespaces:
list:
- {{ .Release.Namespace }}
{{- if .Values.identity.clusterIdentitySecretValue }}
clientSecret:
name: {{ .Values.identity.clusterIdentitySecretName }}
namespace: {{ .Release.Namespace }}
{{- end }}
clientID: {{ .Values.identity.clientID }}
tenantID: {{ .Values.identity.tenantID }}
type: {{ .Values.identity.type }}
Expand Down

0 comments on commit 540dcdd

Please sign in to comment.