From f60ba95b4c94d447f1a3b8489c35d01f8989b06d Mon Sep 17 00:00:00 2001
From: Eugene <eugene.fedor@gmail.com>
Date: Thu, 15 Apr 2021 15:57:51 -0700
Subject: [PATCH] Keep policy order as defined

Signed-off-by: Eugene <eugene.fedor@gmail.com>
---
 manifests/policies/{deny-ingress.yaml => allow-egress.yaml} | 2 +-
 manifests/policies/kustomization.yaml                       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename manifests/policies/{deny-ingress.yaml => allow-egress.yaml} (90%)

diff --git a/manifests/policies/deny-ingress.yaml b/manifests/policies/allow-egress.yaml
similarity index 90%
rename from manifests/policies/deny-ingress.yaml
rename to manifests/policies/allow-egress.yaml
index a7813719..d799be93 100644
--- a/manifests/policies/deny-ingress.yaml
+++ b/manifests/policies/allow-egress.yaml
@@ -1,7 +1,7 @@
 apiVersion: networking.k8s.io/v1
 kind: NetworkPolicy
 metadata:
-  name: deny-ingress
+  name: allow-egress
 spec:
   policyTypes:
     - Ingress
diff --git a/manifests/policies/kustomization.yaml b/manifests/policies/kustomization.yaml
index 6884c916..1d572e44 100644
--- a/manifests/policies/kustomization.yaml
+++ b/manifests/policies/kustomization.yaml
@@ -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
-- 
GitLab