-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
proposalAn issue that proposes a feature requestAn issue that proposes a feature requestready for refinementAn issue that was triaged and it is ready to be refinedAn issue that was triaged and it is ready to be refined
Description
Is your feature request related to a problem? Please describe.
Helm chart doesn’t include a built‑in NetworkPolicy template. Without it, teams have to write and maintain custom policies by hand, which can lead to misconfigurations and inconsistent security posture across environments.
Describe the solution you'd like
Add an optional NetworkPolicy template under charts/nginx-ingress/templates/
that can be enabled via values (e.g. networkPolicy.enabled: true
). The template should allow users to configure:
policyTypes
(Ingress, Egress)podSelector
to target only controller pods- Customizable ingress and egress rules (ports, CIDR blocks, namespaceSelectors, etc.)
Describe alternatives you've considered
- Maintaining a separate, custom NetworkPolicy manifest outside of the Helm chart
- Patching the chart post‑install via helm post‑render
- Using an external policy generator tool (e.g. Kyverno policies), but those still require manual setup and add operational complexity
Additional context
This request is tracked in PR #8052 (“feat: add NetworkPolicy template”)
Metadata
Metadata
Assignees
Labels
proposalAn issue that proposes a feature requestAn issue that proposes a feature requestready for refinementAn issue that was triaged and it is ready to be refinedAn issue that was triaged and it is ready to be refined