File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ kind: ManagedCluster
212212metadata:
213213 name: coco-spoke
214214 labels:
215- clusterGroup: untrusted- spoke
215+ clusterGroup: spoke
216216 cloud: auto-detect
217217 vendor: auto-detect
218218spec:
@@ -285,10 +285,10 @@ EOF
285285
286286 # Verify the label is set correctly
287287 CLUSTER_LABEL=$( kubectl get managedcluster coco-spoke -o jsonpath=' {.metadata.labels.clusterGroup}' 2> /dev/null)
288- if [ " $CLUSTER_LABEL " == " untrusted- spoke" ]; then
289- echo " ✓ Cluster label 'clusterGroup=untrusted- spoke' verified"
288+ if [ " $CLUSTER_LABEL " == " spoke" ]; then
289+ echo " ✓ Cluster label 'clusterGroup=spoke' verified"
290290 else
291- echo " WARNING: Cluster label is '$CLUSTER_LABEL ' (expected: untrustedSpoke )"
291+ echo " WARNING: Cluster label is '$CLUSTER_LABEL ' (expected: spoke )"
292292 fi
293293
294294 echo " ---------------------"
@@ -326,7 +326,7 @@ if [ -n "$SPOKE_IMPORT_STATUS" ]; then
326326 echo " Spoke cluster import to ACM: $SPOKE_IMPORT_STATUS "
327327 if [ " $SPOKE_IMPORT_STATUS " == " SUCCESS" ]; then
328328 echo " - Cluster name: coco-spoke"
329- echo " - Label: clusterGroup=untrustedSpoke "
329+ echo " - Label: clusterGroup=spoke "
330330 fi
331331fi
332332
Original file line number Diff line number Diff line change 11# This is currently configured as an 'all in one' deployment in one cluster.
22
33clusterGroup :
4- name : untrusted- spoke
4+ name : spoke
55 isHubCluster : false
66 namespaces :
77 - golang-external-secrets
Original file line number Diff line number Diff line change @@ -96,11 +96,11 @@ clusterGroup:
9696 verbosity : -vvv
9797 timeout : 3600
9898 managedClusterGroups :
99- untrusted- spoke :
100- name : untrusted- spoke
99+ spoke :
100+ name : spoke
101101 acmlabels :
102102 - name : clusterGroup
103- value : untrusted- spoke
103+ value : spoke
104104 helmOverrides :
105105 - name : clusterGroup.isHubCluster
106106 value : false
You can’t perform that action at this time.
0 commit comments