From 3450865d3f4f8bc49c1e2de257d635f6d575e1cb Mon Sep 17 00:00:00 2001
From: Mathias Petermann <mathias.petermann@gmail.com>
Date: Mon, 27 Mar 2023 12:14:01 +0200
Subject: [PATCH] docs(argocd): ArgoCD no longer uses the pod name as initial
 password

---
 inventory/sample/group_vars/k8s_cluster/addons.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/inventory/sample/group_vars/k8s_cluster/addons.yml b/inventory/sample/group_vars/k8s_cluster/addons.yml
index d715f744a..55b684422 100644
--- a/inventory/sample/group_vars/k8s_cluster/addons.yml
+++ b/inventory/sample/group_vars/k8s_cluster/addons.yml
@@ -223,8 +223,9 @@ argocd_enabled: false
 # Default password:
 #   - https://argo-cd.readthedocs.io/en/stable/getting_started/#4-login-using-the-cli
 #   ---
-#   The initial password is autogenerated to be the pod name of the Argo CD API server. This can be retrieved with the command:
-#   kubectl get pods -n argocd -l app.kubernetes.io/name=argocd-server -o name | cut -d'/' -f 2
+#   The initial password is autogenerated and stored in `argocd-initial-admin-secret` in the argocd namespace defined above.
+#   Using the argocd CLI the generated password can be automatically be fetched from the current kubectl context with the command:
+#   argocd admin initial-password -n argocd
 #   ---
 # Use the following var to set admin password
 # argocd_admin_password: "password"
-- 
GitLab