36 lines
1.4 KiB
Markdown
36 lines
1.4 KiB
Markdown
Collection of Helm charts, primarily for use in my own homelab (though, if you want to use them, you're welcome to!)
|
|
|
|
## Usage
|
|
|
|
### Package and upload
|
|
|
|
```bash
|
|
# Package a chart ready to be uploaded
|
|
$ helm package charts/<path>
|
|
# Do the upload
|
|
$ curl --user <username>:<password> -X POST --upload-file ./<package>.tgz https://hostname.of.gitea/api/packages/<user>/helm/api/charts
|
|
# Don't forget to delete the `.tgz`!
|
|
```
|
|
|
|
### Installation
|
|
|
|
```bash
|
|
$ helm repo add --username <username> --password <password> <repo-alias> https://hostname.of.gitea/api/packages/<user>/helm
|
|
$ helm install <release-name> <repo-alias>/<name>
|
|
```
|
|
|
|
and/or
|
|
|
|
```bash
|
|
$ kubectl apply -f application-manifests.yaml
|
|
```
|
|
|
|
TODO: [App-of-apps](https://argo-cd.readthedocs.io/en/stable/operator-manual/cluster-bootstrapping/#app-of-apps-pattern) to manage whole-cluster configuration.
|
|
|
|
## Other links
|
|
|
|
* [General documentation on repositories](https://helm.sh/docs/topics/chart_repository/)
|
|
* [Gitea's own documentation](https://docs.gitea.com/next/usage/packages/helm)
|
|
* [Helm charts via Argo](https://argo-cd.readthedocs.io/en/stable/user-guide/helm/), [broader application syntax](https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/)
|
|
* Don't be caught out by Argo's behaviour of only accepting Applications in its own namespace!
|
|
* See [here](https://gitea.scubbo.org/scubbo/blogcontent/src/branch/main/.drone.yml#L77) for examples of how to call the Argo UI |