Skip to content

Commit 589a097

Browse files
improve script
1 parent 40a6636 commit 589a097

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
#!/usr/bin/env sh
22

3+
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
4+
5+
kubectl create namespace argocd
36
kubectl create secret generic argocd-secret \
47
--from-literal=server.secretkey=$(openssl rand -base64 32) \
58
--namespace=argocd
9+
10+
kubectl apply -k "${SCRIPT_DIR}"
11+
kubectl apply -k "${SCRIPT_DIR}"

0 commit comments

Comments
 (0)