ingress from workflow allowed
This commit is contained in:
parent
0526ae4e3b
commit
38897e474f
@ -226,7 +226,7 @@ spec:
|
||||
original-owner: "$OWNER"
|
||||
EOF
|
||||
|
||||
# Create NetworkPolicy for isolation (allows ingress from same namespace and ingress-nginx)
|
||||
# Create NetworkPolicy for isolation (allows ingress from same namespace, ingress-nginx, and argo-workflows)
|
||||
cat > manifests/networkpolicy.yaml <<EOF
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
@ -246,6 +246,10 @@ spec:
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: ingress-nginx
|
||||
- from:
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: argo-workflows
|
||||
EOF
|
||||
|
||||
# Create service manifests
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user