Skip to content

Commit

Permalink
Create pvcviewer-webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusvonkohout committed Nov 21, 2023
1 parent 5835025 commit 1b50435
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions contrib/networkpolicies/pvcviewer-webhook
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
name: pvcviewer-webhook
namespace: kubeflow
spec:
podSelector:
matchExpressions:
- key: app
operator: In
values:
- pvcviewer
# https://www.elastic.co/guide/en/cloud-on-k8s/1.1/k8s-webhook-network-policies.html
# The kubernetes api server must reach the webhook
ingress:
- ports:
- protocol: TCP
port: 9443
policyTypes:
- Ingress

0 comments on commit 1b50435

Please sign in to comment.