https://github.com/s3rius/argo-testing
Don't look at this repo. I was trying my POC.
https://github.com/s3rius/argo-testing
Last synced: 3 months ago
JSON representation
Don't look at this repo. I was trying my POC.
- Host: GitHub
- URL: https://github.com/s3rius/argo-testing
- Owner: s3rius
- Created: 2023-10-20T13:10:23.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-23T16:13:40.000Z (over 2 years ago)
- Last Synced: 2025-10-08T01:57:04.267Z (8 months ago)
- Language: Smarty
- Homepage:
- Size: 238 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Test repo setup for argocd
This repo contains:
* k3d config for local kubernetes cluster
* helm charts for argocd and argocd apps with configured repo
* python application with Dockerfile and helm chart
## Setup
At first setup k3d cluster for local development:
```bash
k3d cluster create -c k3d.yaml
```
Then install argocd:
```bash
helm upgrade --install --namespace argocd --create-namespace argo deploy/helm/argocd --set argocd-apps.enabled=false
```
If you want to see NOTES.txt from argo-cd chart, you man add `--render-subchart-notes` flag.
We set `argocd-apps` to false, because the chart installs CRDs and we want to install them before
adding argocd-apps.
Actually, sometimes people add CRDs before running any helm commands. But let's keep it that way.
```bash
helm upgrade --install --namespace argocd --create-namespace argo deploy/helm/argocd --set argocd-apps.enabled=true
```
Now we need to get the secret from argocd secret that contains admin password:
```bash
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
```
Of course, if you've used different namespace or release name, you need to change them in the command above to get the correct secret.
After login you will see the application up and running.