Skip to content

Commit dc873f2

Browse files
author
Arvind Thirumurugan
committed
minor fixes
Signed-off-by: Arvind Thirumurugan <arvindth@microsoft.com>
1 parent a73c786 commit dc873f2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

approval-controller-metric-collector/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ proemetheus-crp 1 True 1 True 1
237237
# Apply ClusterStagedUpdateRun to start the staged rollout
238238
kubectl apply -f ./examples/updateRun/example-csur.yaml
239239

240-
```bash
240+
```bashubec
241241
# Check the staged update run status
242242
kubectl get csur -A
243243
```

approval-controller-metric-collector/metric-collector/install-on-member.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ echo ""
5050
# Install on each member cluster
5151
for i in $(seq 1 ${MEMBER_CLUSTER_COUNT}); do
5252
MEMBER_CONTEXT="kind-cluster-${i}"
53-
MEMBER_CLUSTER_NAME="cluster-${i}"
53+
MEMBER_CLUSTER_NAME="kind-cluster-${i}"
5454
HUB_NAMESPACE="fleet-member-${MEMBER_CLUSTER_NAME}"
5555

5656
echo "========================================"
@@ -78,7 +78,7 @@ kind: ClusterRole
7878
metadata:
7979
name: metric-collector-hub-access
8080
rules:
81-
- apiGroups: ["placement.kubernetes-fleet.io"]
81+
- apiGroups: ["metric.kubernetes-fleet.io"]
8282
resources: ["metriccollectorreports"]
8383
verbs: ["get", "list", "create", "update", "patch", "delete"]
8484
- apiGroups: [""]

0 commit comments

Comments
 (0)