From e2c7b1305ca8495065dcf40fd2092d7c698dd6ea Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 20 Mar 2018 15:47:51 +0100 Subject: Local volumes and StatefulSet to provision Master/Slave MySQL and Galera cluster --- setup/projects/adei/vars/script.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 setup/projects/adei/vars/script.yml (limited to 'setup/projects/adei/vars/script.yml') diff --git a/setup/projects/adei/vars/script.yml b/setup/projects/adei/vars/script.yml new file mode 100644 index 0000000..cbd01ba --- /dev/null +++ b/setup/projects/adei/vars/script.yml @@ -0,0 +1,8 @@ +oc: + - storage: ".*" + - keys: ".*" + - oc: "create sa adeidb" + resource: "sa/adeidb" + - oc: "{{ ands_hostnet_db | default(false) | ternary('adm policy add-scc-to-user hostnetwork -z adeidb', 'adm policy remove-scc-from-user hostnetwork -z adeidb') }}" + - templates: "*" + - apps: ".*" -- cgit v1.2.3