Skip to content

Commit

Permalink
Merge pull request #15 from bfbachmann/fix-cluster-template
Browse files Browse the repository at this point in the history
Fix localClusterAuthEndpoint in cluster.yaml
  • Loading branch information
kinarashah authored Apr 26, 2023
2 parents 19e4b98 + 1388768 commit dc5c201
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions charts/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ spec:
{{- if .Values.kubernetesVersion }}
kubernetesVersion: {{ .Values.kubernetesVersion }}
{{- end }}
{{- if .Values.rke.localClusterAuthEndpoint.enabled }}
localClusterAuthEndpoint:
enabled: {{ .Values.rke.localClusterAuthEndpoint.enabled }}
fqdn: {{ .Values.rke.localClusterAuthEndpoint.fqdn }}
caCerts: {{ .Values.rke.localClusterAuthEndpoint.caCerts }}
{{- end }}
# enable network policy
enableNetworkPolicy: true
# specify rancher helm chart values deployed into downstream cluster
Expand Down Expand Up @@ -164,12 +170,6 @@ spec:
# cloud-provider-name: ""
# Cloud provider configuration file path
# cloud-provider-config: ""
{{- if .Values.rke.localClusterAuthEndpoint.enabled }}
localClusterAuthEndpoint:
enabled: {{ .Values.rke.localClusterAuthEndpoint.enabled }}
fqdn: {{ .Values.rke.localClusterAuthEndpoint.fqdn }}
caCerts: {{ .Values.rke.localClusterAuthEndpoint.caCerts }}
{{- end }}
upgradeStrategy:
controlPlaneDrainOptions:
enabled: false
Expand Down

0 comments on commit dc5c201

Please sign in to comment.