Skip to content

Commit f0500c6

Browse files
committed
Refactor ArgoCD installation: update Helm command to set LoadBalancer service type and retrieve initial admin password
1 parent 8b01347 commit f0500c6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/terraform.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,8 @@ jobs:
7878
helm upgrade --install argocd argo/argo-cd \
7979
--namespace argocd \
8080
--create-namespace \
81-
--version 6.7.2 \
81+
--set server.service.type=LoadBalancer \
8282
--wait
83-
8483
8584
# ---------------------------
8685
# Get ArgoCD Server URL
@@ -97,3 +96,9 @@ jobs:
9796
fi
9897
9998
echo "ArgoCD URL: http://$ARGOCD_URL"
99+
100+
PASS=$(kubectl get secret argocd-initial-admin-secret -n argocd -o jsonpath="{.data.password}" | base64 --decode)
101+
echo "username=admin"
102+
echo "password=$PASS"
103+
104+

0 commit comments

Comments
 (0)