File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ kind: NetworkPolicy
2828metadata :
2929 labels :
3030 app : postgresql
31- name : netpol-devtron-postgress
31+ name : netpol-devtron-postgres
3232 namespace : devtroncd
3333spec :
3434 policyTypes :
4242 - port : 5432
4343 podSelector :
4444 matchLabels :
45- app : postgresql
46- release : devtron
45+ app.kubernetes.io/name : postgres
46+ app.kubernetes.io/instance : devtron
4747---
4848apiVersion : networking.k8s.io/v1
4949kind : NetworkPolicy
@@ -231,5 +231,19 @@ spec:
231231 matchLabels :
232232 app.kubernetes.io/name : nats
233233 app.kubernetes.io/instance : devtron-nats
234+ ---
235+ apiVersion : networking.k8s.io/v1
236+ kind : NetworkPolicy
237+ metadata :
238+ name : allow-all-ingress-in-devtron
239+ namespace : devtroncd
240+ spec :
241+ podSelector :
242+ matchLabels :
243+ app : devtron
244+ policyTypes :
245+ - Ingress
246+ ingress :
247+ - {}
234248{{- end }}
235249{{- end }}
You can’t perform that action at this time.
0 commit comments