6 lines
268 B
Bash
Executable file
6 lines
268 B
Bash
Executable file
#!/bin/bash
|
|
KUBECONFIG=$(dirname $(realpath $0))/../kubeconfig
|
|
kubectl --kubeconfig=$KUBECONFIG create ns argocd
|
|
cd $(dirname $(realpath $0))/../manifests/kustomize/argocd
|
|
kustomize build | kubectl --kubeconfig=$KUBECONFIG --namespace argocd apply -f - --server-side
|
|
|