We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bca292 commit 9a4f96aCopy full SHA for 9a4f96a
templates/networkpolicies.yaml
@@ -0,0 +1,15 @@
1
+---
2
+apiVersion: networking.k8s.io/v1
3
+kind: NetworkPolicy
4
+metadata:
5
+ name: ingress-deny-all
6
+ namespace: {{ .Release.Namespace }}
7
+spec:
8
+ # Deny all ingress traffic for workspace pods. The coder agent initiates
9
+ # all network traffic (TURN-over-HTTPS or STUN)
10
+ podSelector:
11
+ matchLabels:
12
+ com.coder.resource: "true"
13
+ policyTypes:
14
+ - Ingress
15
+ ingress: []
0 commit comments