update kubeflow dip-catalog
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: cache-server
|
||||
namespace: kubeflow
|
||||
spec:
|
||||
podSelector:
|
||||
matchExpressions:
|
||||
- key: app
|
||||
operator: In
|
||||
values:
|
||||
- cache-server # mutating webhook
|
||||
# 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: 8443
|
||||
policyTypes:
|
||||
- Ingress
|
||||
Reference in New Issue
Block a user