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-compliance
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select Ingress.
Run this benchmark in your terminal:
powerpipe benchmark run kubernetes_compliance.benchmark.all_controls_ingress
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run kubernetes_compliance.benchmark.all_controls_ingress --share
Controls
- 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