Skip to content

Commit

Permalink
Use $group.name in clusterset metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaldessari committed Sep 8, 2024
1 parent cc3d360 commit 83976a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion acm/templates/provision/clusterpool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ metadata:
cloud: {{ $cloud }}
region: '{{ $region }}'
vendor: OpenShift
cluster.open-cluster-management.io/clusterset: {{ .name }}
cluster.open-cluster-management.io/clusterset: {{ $group.name }}
spec:
{{- if .size }}
size: {{ .size }}
Expand Down
4 changes: 2 additions & 2 deletions tests/acm-normal.expected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ metadata:
cloud: aws
region: 'ap-southeast-2'
vendor: OpenShift
cluster.open-cluster-management.io/clusterset: aws-ap
cluster.open-cluster-management.io/clusterset: acm-provision-edge
spec:
size: 3
runningCount: 0
Expand Down Expand Up @@ -195,7 +195,7 @@ metadata:
cloud: azure
region: 'eastus'
vendor: OpenShift
cluster.open-cluster-management.io/clusterset: azure-us
cluster.open-cluster-management.io/clusterset: acm-provision-edge
spec:
size: 2
runningCount: 2
Expand Down

0 comments on commit 83976a6

Please sign in to comment.