about summary refs log tree commit diff
path: root/scripts/deploy-argocd
blob: 2fdec5861446a4063861e0a77350fa2d3428e1c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
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