init: 아르고cd, vault 기반 인프라 설계
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
for cmd in kubectl; do
|
||||
if ! command -v "$cmd" >/dev/null 2>&1; then
|
||||
echo "$cmd is required" >&2
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
kubectl apply -f argocd/projects/dev
|
||||
kubectl apply -f argocd/applications/dev/infra/sealed-secrets.yaml
|
||||
kubectl apply -f argocd/applications/dev/infra/vault-transit.yaml
|
||||
kubectl apply -f argocd/applications/dev/infra/vault.yaml
|
||||
kubectl apply -f argocd/applications/dev/infra/vault-agent-injector.yaml
|
||||
Reference in New Issue
Block a user