Benchmark: Ingress
Description
This section contains recommendations for configuring Ingress resources.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-kubernetes-complianceStart the Powerpipe server:
steampipe service startpowerpipe serverOpen http://localhost:9033 in your browser and select Ingress.
Run this benchmark in your terminal:
powerpipe benchmark run kubernetes_compliance.benchmark.all_controls_ingressSnapshot and share results via Turbot Pipes:
powerpipe benchmark run kubernetes_compliance.benchmark.all_controls_ingress --shareControls
- Ingress definition should not use default namespace
- Ingress definition should not allow any usage of NGINX ingress annotation snippets
- Ingress definition should not have NGINX ingress annotation snippets containing alias statements
- Ingress definition should not have NGINX ingress annotation snippets containing lua code snippets