fix(helm): Add port support to ingress netpol#10689
Conversation
DryRun Security SummaryThe pull request enhances the network security of the DefectDojo application by implementing Kubernetes network policies that provide granular control over ingress and egress traffic, isolate critical application components, and allow for flexible configuration based on deployment environments or use cases. Expand for full summarySummary: The code changes in this pull request are focused on enhancing the network security of the DefectDojo application by implementing Kubernetes network policies. The key changes include:
From an application security perspective, these changes are a positive step towards improving the overall security of the DefectDojo application by reducing the attack surface and implementing the principle of least privilege access. However, it's important to ensure that the network policy rules are configured correctly and cover all necessary traffic flows to avoid disrupting legitimate application functionality. Files Changed:
Code AnalysisWe ran Riskiness🟢 Risk threshold not exceeded. |
kiblik
left a comment
There was a problem hiding this comment.
I suppose this kind of change might break running deployments. I have no problem make the definition more flexible but can you probably move
- from:
- podSelector:
matchLabels:
app.kubernetes.io/instance: {{ .Release.Name }}to default setting/value?
Right. I changed logic. So it will not affect running deployments |
Description
Change ingress network policy template to allow to set peers as well as ports