Skip to content

Commit

Permalink
docs: add ArgoCD configuration documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sydrawat01 committed Jan 30, 2024
1 parent bec3a77 commit 21cb227
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,31 @@ You should now be able to access the cluster via your local terminal.
> \[!IMPORTANT]\
> Since this is still a WIP, we are planning to provide access to the cluster via a bastion host instead of direct access to the cluster after running the above command. Feel free to open a PR in case you want to contribute and help us out in setting up a bastion host to access the AWS EKS cluster.

## Working with ArgoCD

- To setup and install AgoCD on the cluster, run the command:

```bash
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
```

- To access the ArgoCD dashboard, we need to port-forward and expose the port for ArgoCD:

```bash
# remember to open the port forward in another terminal window
# the port should always be open to access the ArgoCD dashboard
kubectl port-forward svc/argocd-server 8080:443 -n argocd
```

- To get the initial admin password to access the ArgoCD dashboard, we need to get the `base64` encoded password from the `secrets` resource in the `argocd` namespace and display the value using `-o yaml` parameter. Once done, we can then decode the `base64` value:

```bash
echo "<base64-encoded-pwd> | base64 -d"
# ignore the % at the end of the decoded string
```

You can now access the ArgoCD dashboard via `https://localhost:8080` and login using the username `admin` and password retrieved from the previous step.

## LICENSE

This project is licensed under the MIT open-source license.
Expand Down

0 comments on commit 21cb227

Please sign in to comment.