From 97bd9a195c54f36952c43c73501f537614f1e508 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Wed, 2 Feb 2022 01:12:00 +0100
Subject: [PATCH] fix(database): Fix database shared template

The template still contained a wrong namespace name which was a copied
from a policy template. Since the switch to a simple shared document the
namespace name is filled in by kustomize instead and therefore has to be
removed from the shared file.
---
 shared/networkpolicies/allow-from-database.yaml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/shared/networkpolicies/allow-from-database.yaml b/shared/networkpolicies/allow-from-database.yaml
index e7a2e9cf8..b587f7098 100644
--- a/shared/networkpolicies/allow-from-database.yaml
+++ b/shared/networkpolicies/allow-from-database.yaml
@@ -2,7 +2,6 @@ apiVersion: networking.k8s.io/v1
 kind: NetworkPolicy
 metadata:
   name: allow-from-database
-  namespace: "{{request.object.metadata.name}}"
 spec:
   policyTypes:
   - Ingress
-- 
GitLab