aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/oneclick/sdnc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/oneclick/sdnc.sh')
-rwxr-xr-xkubernetes/oneclick/sdnc.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/kubernetes/oneclick/sdnc.sh b/kubernetes/oneclick/sdnc.sh
new file mode 100755
index 0000000000..d7390ba01b
--- /dev/null
+++ b/kubernetes/oneclick/sdnc.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+KUBECTL_CMD="kubectl --namespace $1-$2 $3 -f ../$2"
+
+printf "SDNC....\n"
+$KUBECTL_CMD/db-deployment.yaml
+$KUBECTL_CMD/sdnc-deployment.yaml
+$KUBECTL_CMD/dgbuilder-deployment.yaml
+$KUBECTL_CMD/web-deployment.yaml