This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| kubernetes:helm2argo [2026/02/06 09:11] – initial structure mattroot | kubernetes:helm2argo [2026/02/06 11:52] (current) – mattroot | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Migrating Helm deployments to ArgoCD (GitOps-style) ====== | ====== Migrating Helm deployments to ArgoCD (GitOps-style) ====== | ||
| + | |||
| + | <WRAP todo # | ||
| + | This page is a **work-in-progress**. Stuff might change, and probably will. | ||
| + | </ | ||
| There are reasons to do this. Generally it's more pleasant to manage this stuff by Argo, especially if you have another related resources which are NOT managed by Helm. For example, we have cert-manager installed by hand, but the ClusterIssuer and certs themselves are just deployed by hand. | There are reasons to do this. Generally it's more pleasant to manage this stuff by Argo, especially if you have another related resources which are NOT managed by Helm. For example, we have cert-manager installed by hand, but the ClusterIssuer and certs themselves are just deployed by hand. | ||
| Line 8: | Line 12: | ||
| ==== Step 1: wrapper chart ==== | ==== Step 1: wrapper chart ==== | ||
| - | TODO | + | Create a folder in your git repo, I usually pick '' |
| + | |||
| + | application-name/ | ||
| + | |-> templates/ | ||
| + | |-> Chart.yaml | ||
| + | |-> values.yaml | ||
| + | |||
| + | '' | ||
| + | |||
| + | apiVersion: v2 | ||
| + | name: APPNAMEHERE-wrapper | ||
| + | description: | ||
| + | type: application | ||
| + | version: 1.0.0 | ||
| + | appVersion: " | ||
| + | |||
| + | dependencies: | ||
| + | - name: APPNAMEHERE | ||
| + | version: " | ||
| + | repository: " | ||
| + | |||
| + | Now for the '' | ||
| + | |||
| + | $ helm get values -n ass APPNAMEHERE >> values.yaml | ||
| + | |||
| + | Edit that file. Remove the first line as I have no idea why Helm does it this way. | ||
| ==== Step 2: ArgoCD application ==== | ==== Step 2: ArgoCD application ==== | ||