File tree Expand file tree Collapse file tree
charts/cluster-bootstrap-acm-hub-registration Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ apiVersion: v2
55name : cluster-bootstrap-acm-hub-registration
66description : Helm chart to register spoke clusters with ACM hub
77type : application
8- version : 0.1.3
8+ version : 0.1.4
99appVersion : " 1.0"
Original file line number Diff line number Diff line change 1212 kind : Placement
1313 apiVersion : cluster.open-cluster-management.io/v1beta1
1414 name : {{ .Values.gitopsCluster.placementName }}
15+ {{- if .Values.gitopsCluster.appArgoNamespace }}
16+ ---
17+ apiVersion : apps.open-cluster-management.io/v1beta1
18+ kind : GitOpsCluster
19+ metadata :
20+ name : {{ .Values.clusterName }}-app-gitops
21+ namespace : {{ .Values.gitopsCluster.appArgoNamespace }}
22+ spec :
23+ argoServer :
24+ cluster : local-cluster
25+ argoNamespace : {{ .Values.gitopsCluster.appArgoNamespace }}
26+ placementRef :
27+ kind : Placement
28+ apiVersion : cluster.open-cluster-management.io/v1beta1
29+ name : {{ .Values.gitopsCluster.placementName }}
30+ {{- end }}
1531{{- end }}
Original file line number Diff line number Diff line change @@ -19,4 +19,5 @@ applicationManager:
1919gitopsCluster :
2020 enabled : true
2121 argoNamespace : openshift-gitops
22+ appArgoNamespace : application-gitops
2223 placementName : all-spoke-clusters
You can’t perform that action at this time.
0 commit comments