From c92e56a9e6533fe933b6ab5be8c6bdbc3a44c04f Mon Sep 17 00:00:00 2001 From: Humair Khan Date: Fri, 10 May 2024 14:55:21 -0400 Subject: [PATCH] chore: deploy mariadb nwp with mariadb Signed-off-by: Humair Khan --- .../default/networkpolicy.yaml.tmpl} | 0 controllers/database.go | 1 + 2 files changed, 1 insertion(+) rename config/internal/{common/default/mariadb-access-policy.yaml.tmpl => mariadb/default/networkpolicy.yaml.tmpl} (100%) diff --git a/config/internal/common/default/mariadb-access-policy.yaml.tmpl b/config/internal/mariadb/default/networkpolicy.yaml.tmpl similarity index 100% rename from config/internal/common/default/mariadb-access-policy.yaml.tmpl rename to config/internal/mariadb/default/networkpolicy.yaml.tmpl diff --git a/controllers/database.go b/controllers/database.go index 7820d004..b8cd81db 100644 --- a/controllers/database.go +++ b/controllers/database.go @@ -43,6 +43,7 @@ var mariadbTemplates = []string{ "mariadb/default/pvc.yaml.tmpl", "mariadb/default/service.yaml.tmpl", "mariadb/default/mariadb-sa.yaml.tmpl", + "mariadb/default/networkpolicy.yaml.tmpl", } func tLSClientConfig(pems [][]byte) (*cryptoTls.Config, error) {