Keep policy order as defined
Signed-off-by: Eugene <eugene.fedor@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: deny-ingress
|
||||
name: allow-egress
|
||||
spec:
|
||||
policyTypes:
|
||||
- Ingress
|
||||
@@ -1,6 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- deny-ingress.yaml
|
||||
- allow-egress.yaml
|
||||
- allow-scraping.yaml
|
||||
- allow-webhooks.yaml
|
||||
|
||||
Reference in New Issue
Block a user