KUBE002warningPro

ingress-ssl-redirect

Kubernetes Ingress missing HTTP to HTTPS redirect.

Applies to: YAML

Why this matters

Without HTTP to HTTPS redirect, users accessing your site via http:// will get connection errors instead of being redirected to https://. This is a common issue when adding new domains - the SSL certificate gets configured but HTTP requests fail.

Catch it before it ships

pip install stablestack # or: npx stablestackstablestack # scans your project, KUBE002 includedstablestack explain KUBE002

KUBE002 is part of the Pro rule set. See pricing — the free tier ships 24 checks with no signup.

False positive in your codebase? Suppress a single line with # noqa: KUBE002