Keep policy order as defined

Signed-off-by: Eugene <eugene.fedor@gmail.com>
pull/1280/head
Eugene 4 years ago
parent 4ecf541748
commit f60ba95b4c

@ -1,7 +1,7 @@
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: NetworkPolicy kind: NetworkPolicy
metadata: metadata:
name: deny-ingress name: allow-egress
spec: spec:
policyTypes: policyTypes:
- Ingress - Ingress

@ -1,6 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- deny-ingress.yaml - allow-egress.yaml
- allow-scraping.yaml - allow-scraping.yaml
- allow-webhooks.yaml - allow-webhooks.yaml

Loading…
Cancel
Save