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
28
28
metadata :
29
29
labels :
30
30
app : postgresql
31
- name : netpol-devtron-postgress
31
+ name : netpol-devtron-postgres
32
32
namespace : devtroncd
33
33
spec :
34
34
policyTypes :
42
42
- port : 5432
43
43
podSelector :
44
44
matchLabels :
45
- app : postgresql
46
- release : devtron
45
+ app.kubernetes.io/name : postgres
46
+ app.kubernetes.io/instance : devtron
47
47
---
48
48
apiVersion : networking.k8s.io/v1
49
49
kind : NetworkPolicy
@@ -231,5 +231,19 @@ spec:
231
231
matchLabels :
232
232
app.kubernetes.io/name : nats
233
233
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
+ - {}
234
248
{{- end }}
235
249
{{- end }}
You can’t perform that action at this time.
0 commit comments