From 44cccb5f6b75c532aa6b097e2989d7581e78869e Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Fri, 28 Jun 2024 13:30:53 +0300 Subject: proper refactoring --- scripts/deploy-argocd | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/deploy-argocd (limited to 'scripts/deploy-argocd') diff --git a/scripts/deploy-argocd b/scripts/deploy-argocd new file mode 100755 index 0000000..2fdec58 --- /dev/null +++ b/scripts/deploy-argocd @@ -0,0 +1,12 @@ +#!/bin/bash + +set -e + + +if kubectl get namespace argocd; then + echo "Namespace 'argocd' alreay exists. Doing nothing" +else + echo "Creating argocd namespace" + kubectl create namespace argocd +fi + -- cgit 1.4.1-2-gfad0