File tree Expand file tree Collapse file tree 9 files changed +10
-10
lines changed
managedClusters/templates Expand file tree Collapse file tree 9 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11# Changes
22
33## October 3, 2022
4- * Support both .Values.global. managedClusterGroups and the old .Values.clusterGroup.managedClusterGroups
4+ * Support both .Values.managedClusterGroups and the old .Values.clusterGroup.managedClusterGroups
55* Restore the ability to install a non-default site: ` make TARGET_SITE=mysite install `
66* Revised tests (new output and filenames, requires adding new result files to git)
77* ACM 2.6 required for ACM-based managed sites
Original file line number Diff line number Diff line change 11{{- $haveACM := false }}
2- {{- range coalesce .Values.global. managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
2+ {{- range coalesce .Values.managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
33{{- if not .hostedArgoSites }}
44{{- $haveACM = true }}
55{{- end }}
Original file line number Diff line number Diff line change 11# TODO: Also create a GitOpsCluster.apps.open-cluster-management.io
2- {{- range coalesce .Values.global. managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
2+ {{- range coalesce .Values.managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
33{{- $group := . }}
44{{- if not .hostedArgoSites }}
55apiVersion : policy.open-cluster-management.io/v1
Original file line number Diff line number Diff line change 11{{- $haveACM := false }}
2- {{- range coalesce .Values.global. managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
2+ {{- range coalesce .Values.managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
33{{- if not .hostedArgoSites }}
44{{- $haveACM = true }}
55{{- end }}
Original file line number Diff line number Diff line change 1- {{- range coalesce .Values.global. managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
1+ {{- range coalesce .Values.managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
22{{- $group := . }}
33{{- if .clusterPools }}{{- /* We only create ManagedClusterSets if there are clusterPools defined */}}
44apiVersion : cluster.open-cluster-management.io/v1beta1
8484{{- end }}{{- /* range .range clusters */}}
8585{{- end }}{{- /* range .clusterPools */}}
8686{{- end }}{{- /* if .clusterPools) */}}
87- {{- end }}{{- /* range coalesce .Values.global. managedClusterGroups .Values.clusterGroup.managedClusterGroups */}}
87+ {{- end }}{{- /* range coalesce .Values.managedClusterGroups .Values.clusterGroup.managedClusterGroups */}}
Original file line number Diff line number Diff line change 1- {{- range coalesce .Values.global. managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
1+ {{- range coalesce .Values.managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
22{{- $group := . }}
33{{- range .clusterPools }}
44{{- $poolName := print .name "-" $group.name }}
Original file line number Diff line number Diff line change 1- {{- range coalesce .Values.global. managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
1+ {{- range coalesce .Values.managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
22{{- $group := . }}
33{{- range .clusterPools }}
44{{- $poolName := print .name "-" $group.name }}
Original file line number Diff line number Diff line change 1- {{- range coalesce .Values.global. managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
1+ {{- range coalesce .Values.managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
22{{- $group := . }}
33{{- range .clusterPools }}
44{{- $poolName := print .name "-" $group.name }}
Original file line number Diff line number Diff line change 1- {{- range coalesce .Values.global. managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
1+ {{- range coalesce .Values.managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
22{{- $group := . }}
33{{- if .hostedArgoSites }}
44apiVersion : argoproj.io/v1alpha1
You can’t perform that action at this time.
0 commit comments