Skip to content

Commit

Permalink
arkade already creating namespace of argocd we don't need additional …
Browse files Browse the repository at this point in the history
…step, the line for getting secret is wrapped to be able to show it in browser

Signed-off-by: Batuhan Apaydın <[email protected]>
  • Loading branch information
developer-guy committed May 14, 2021
1 parent 852577b commit d026b71
Showing 1 changed file with 36 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ To get more detail please refer to this [link](https://blog.alexellis.io/introdu

Once we have arkade, we can create a cluster and install ArgoCD. If you prefer, you can also manually download all the tools required, and find the instructions for ArgoCD's helm chart.

* [arkade](https://get-arkade.dev) (v0.7.10) Kubernetes marketplace
* [arkade](https://get-arkade.dev) (v0.7.13) Kubernetes marketplace

```bash
# Run with or without sudo
Expand Down Expand Up @@ -141,8 +141,39 @@ arkade is not only for the CLI tooling, it also helps you to get started to inst
hopefully arkade also supports installing ArgoCD.

```bash
$ kubectl create namespace argocd
$ arkade install argocd
Using Kubeconfig: /Users/batuhan.apaydin/.kube/config
Node architecture: "amd64"
=======================================================================
= ArgoCD has been installed =
=======================================================================
# Get the ArgoCD CLI
arkade install argocd
# Port-forward the ArgoCD API server
kubectl port-forward svc/argocd-server -n argocd 8443:443 &
# Get the password
PASS=$(kubectl get secret argocd-initial-admin-secret \
-n argocd \
-o jsonpath="{.data.password}" | base64 -d)
echo $PASS
# Or log in:
argocd login --name local 127.0.0.1:8443 --insecure \
--username admin \
--password $PASS
# Open the UI:
https://127.0.0.1:8443
# Get started with ArgoCD at
# https://argoproj.github.io/argo-cd/#quick-start
Thanks for using arkade!
```

Verify if everything is working properly in _argocd_ namespace before moving onto the next step.
Expand Down Expand Up @@ -171,7 +202,9 @@ CD installation namespace.
You can simply retrieve this password using kubectl:

```bash
$ kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d && echo
$ $ kubectl get secret \
-n argocd \
argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d && echo
SyudUgAtDobmgSjM
```

Expand Down

0 comments on commit d026b71

Please sign in to comment.