Skip to content

fix(envoy-gateway): verify controller pods by their real label - #42

Merged
surrealwolf merged 1 commit into
mainfrom
fix/envoy-gateway-verify-labels
Oct 5, 2026
Merged

surrealwolf merged 1 commit into
mainfrom
fix/envoy-gateway-verify-labels

Conversation

@surrealwolf

Copy link
Copy Markdown
Collaborator

Follow-up to #40, found while upgrading poc-apps to v1.9.2 with the new script.

  • The post-install verification selected app.kubernetes.io/name=envoy-gateway, which Envoy Gateway controller pods don't have (control-plane=envoy-gateway, app.kubernetes.io/name=gateway-helm). It always waited 60s, reported 0/0 pods and printed a misleading "may not be fully ready" warning. Now uses control-plane=envoy-gateway.
  • With pipefail (added in fix(envoy-gateway): make module safe for upgrades, pin v1.9.2 #40), grep -c ... || echo "0" printed 0 twice when nothing matched; use || true.

The real readiness gate is the kubectl rollout status added in #40, which passed on every step (poc-apps v1.7.5 → v1.8.5 → v1.9.2).

Testing: bash -n; selector returns the controller pod on poc-apps.

Made with Cursor

The post-install check selected app.kubernetes.io/name=envoy-gateway,
which the controller pods never carry (they are control-plane=
envoy-gateway, app.kubernetes.io/name=gateway-helm), so it always
reported 0/0 pods and a 'may not be ready' warning. With pipefail,
'grep -c ... || echo 0' also printed 0 twice on no match.

Co-authored-by: Cursor <cursoragent@cursor.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Cursor Bugbot completed successfully with no review comment findings that need human review, and no approval policy requires additional review.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

@surrealwolf
surrealwolf merged commit 69adaec into main Oct 5, 2026
5 checks passed
@surrealwolf
surrealwolf deleted the fix/envoy-gateway-verify-labels branch October 5, 2026 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant