mirror of
https://codeberg.org/27/inception-of-things.git
synced 2026-01-01 06:06:42 +01:00
add: argo installer and base app
This commit is contained in:
@ -9,6 +9,17 @@ kubectl wait --namespace argocd \
|
||||
--selector=app.kubernetes.io/name=argocd-server \
|
||||
--timeout=300s \
|
||||
1>/dev/null 2>/dev/null
|
||||
kubectl port-forward svc/argocd-server -n argocd 8080:443 1>/dev/null &
|
||||
kubectl port-forward svc/argocd-server -n argocd 8080:443 1>/dev/null 2>/dev/null &
|
||||
echo 'ArgoCD is running (http://127.0.0.1:8080)'
|
||||
echo login=admin password=\'$(kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d)\'
|
||||
kubectl create namespace dev
|
||||
kubectl apply -n dev -f ../confs/app.yml
|
||||
echo 'App is starting...'
|
||||
kubectl wait --namespace argocd \
|
||||
--for=condition=ready pod \
|
||||
--selector=app.kubernetes.io/name=argocd-server \
|
||||
--timeout=300s \
|
||||
1>/dev/null 2>/dev/null
|
||||
kubectl apply -n dev -f ../confs/service.yml
|
||||
kubectl apply -n dev -f ../confs/ingress.yml
|
||||
echo 'App is running (http://127.0.0.1:80)'
|
||||
Reference in New Issue
Block a user