Skip to content

Commit

Permalink
add-network-policy-for-controller
Browse files Browse the repository at this point in the history
  • Loading branch information
calvix committed Nov 2, 2023
1 parent 0fd362e commit 1acd18f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions charts/aws-ebs-csi-driver/templates/controller-network-policy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: {{ include "aws-ebs-csi-driver.name" . }}-controller
namespace: kube-system
spec:
egress:
- {}
podSelector:
matchLabels:
app.kubernetes.io/name: {{ include "aws-ebs-csi-driver.name" . }}
policyTypes:
- Egress

0 comments on commit 1acd18f

Please sign in to comment.