Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add ArgoCD configuration documentation #2

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading