File tree 9 files changed +10
-10
lines changed
managedClusters/templates
9 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
# Changes
2
2
3
3
## 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
5
5
* Restore the ability to install a non-default site: ` make TARGET_SITE=mysite install `
6
6
* Revised tests (new output and filenames, requires adding new result files to git)
7
7
* ACM 2.6 required for ACM-based managed sites
Original file line number Diff line number Diff line change 1
1
{{- $haveACM := false }}
2
- {{- range coalesce .Values.global. managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
2
+ {{- range coalesce .Values.managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
3
3
{{- if not .hostedArgoSites }}
4
4
{{- $haveACM = true }}
5
5
{{- end }}
Original file line number Diff line number Diff line change 1
1
# 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 }}
3
3
{{- $group := . }}
4
4
{{- if not .hostedArgoSites }}
5
5
apiVersion : policy.open-cluster-management.io/v1
Original file line number Diff line number Diff line change 1
1
{{- $haveACM := false }}
2
- {{- range coalesce .Values.global. managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
2
+ {{- range coalesce .Values.managedClusterGroups .Values.clusterGroup.managedClusterGroups }}
3
3
{{- if not .hostedArgoSites }}
4
4
{{- $haveACM = true }}
5
5
{{- 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 }}
2
2
{{- $group := . }}
3
3
{{- if .clusterPools }}{{- /* We only create ManagedClusterSets if there are clusterPools defined */}}
4
4
apiVersion : cluster.open-cluster-management.io/v1beta1
84
84
{{- end }}{{- /* range .range clusters */}}
85
85
{{- end }}{{- /* range .clusterPools */}}
86
86
{{- 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 }}
2
2
{{- $group := . }}
3
3
{{- range .clusterPools }}
4
4
{{- $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 }}
2
2
{{- $group := . }}
3
3
{{- range .clusterPools }}
4
4
{{- $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 }}
2
2
{{- $group := . }}
3
3
{{- range .clusterPools }}
4
4
{{- $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 }}
2
2
{{- $group := . }}
3
3
{{- if .hostedArgoSites }}
4
4
apiVersion : argoproj.io/v1alpha1
You can’t perform that action at this time.
0 commit comments