Skip to content

Commit 2d1d8bc

Browse files
authored
Update ClusterRole to include 'get' for pods (#391)
* Update ClusterRole to include 'get' for pods * Increase sleep time within test so the pods could be evicted
1 parent 50f0c4d commit 2d1d8bc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

config/helm/aws-node-termination-handler/templates/clusterrole.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ rules:
1818
- pods
1919
verbs:
2020
- list
21+
- get
2122
- apiGroups:
2223
- ""
2324
resources:

test/e2e/prometheus-metrics-test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ PORT_FORWARD_PID=$!
143143
trap 'kill ${PORT_FORWARD_PID}' EXIT SIGINT SIGTERM ERR
144144
echo "✅ Port-forwarded pod $POD_NAME"
145145

146-
sleep 1
146+
sleep 30
147147

148148
METRICS_RESPONSE=$(curl -L localhost:7000/metrics)
149149
echo "✅ Fetched /metrics."

0 commit comments

Comments
 (0)