You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(tests/charts): unblock helm test hooks under chart NetworkPolicy
kind v0.31+/kindest/node v1.35+ enforces NetworkPolicy via kindnetd. The
chart NetworkPolicy's podSelector matched the helm test hook pod (which
inherited the app selectorLabels), denying its egress and causing wget
to time out reaching the app Service.
- Give the hook pod distinct labels (app.kubernetes.io/name:
<chart>-test-connection) so the chart NetworkPolicy no longer selects it.
- Emit a dedicated NetworkPolicy for the hook pod allowing DNS + egress
to the app pod on the service port. This also satisfies Checkov
CKV2_K8S_6 (comments are stripped by Helm and cannot be used to skip).
0 commit comments