Skip to content

feat: re-configured net-pol #6781

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions charts/devtron/templates/networkpolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ kind: NetworkPolicy
metadata:
labels:
app: postgresql
name: netpol-devtron-postgress
name: netpol-devtron-postgres
namespace: devtroncd
spec:
policyTypes:
Expand All @@ -42,8 +42,8 @@ spec:
- port: 5432
podSelector:
matchLabels:
app: postgresql
release: devtron
app.kubernetes.io/name: postgres
app.kubernetes.io/instance: devtron
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
Expand Down Expand Up @@ -231,5 +231,19 @@ spec:
matchLabels:
app.kubernetes.io/name: nats
app.kubernetes.io/instance: devtron-nats
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-all-ingress-in-devtron
namespace: devtroncd
spec:
podSelector:
matchLabels:
app: devtron
policyTypes:
- Ingress
ingress:
- {}
{{- end }}
{{- end }}
Loading