Skip to content

Commit

Permalink
Fix localClusterAuthEndpoint in cluster.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Bachmann committed Apr 21, 2023
1 parent 19e4b98 commit 1388768
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 1388768

Please sign in to comment.