docs: document helm and kustomize usage
This commit is contained in:
1 parent
5de992e2ba
commit
a80e627f13
1 file changed
+29
-4
@@ -2,14 +2,39 @@
|
|||||||
|
|
||||||
Published Helm chart repository for TapTap projects.
|
Published Helm chart repository for TapTap projects.
|
||||||
|
|
||||||
## Use
|
Charts are packaged and published here by CI. Chart sources stay in their
|
||||||
|
application repositories.
|
||||||
|
|
||||||
|
## Helm
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
helm repo add taptap \
|
helm repo add taptap \
|
||||||
https://gitea.tap-tap.win/TapTap/Charts/raw/branch/main
|
https://gitea.tap-tap.win/TapTap/Charts/raw/branch/main
|
||||||
helm repo update
|
helm repo update
|
||||||
helm search repo taptap/
|
helm search repo taptap/audiomanager --devel
|
||||||
```
|
```
|
||||||
|
|
||||||
Packaged charts and `index.yaml` are published here by CI. Chart sources stay in
|
CI versions use `<chart version>-sha.<commit>` and are SemVer prereleases, so
|
||||||
their application repositories.
|
pass `--devel` to search and pin the exact version when installing:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
helm upgrade --install audiomanager taptap/audiomanager \
|
||||||
|
--version <version> \
|
||||||
|
--namespace audiomanager
|
||||||
|
```
|
||||||
|
|
||||||
|
## Kustomize
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
helmCharts:
|
||||||
|
- name: audiomanager
|
||||||
|
releaseName: audiomanager
|
||||||
|
namespace: audiomanager
|
||||||
|
repo: https://gitea.tap-tap.win/TapTap/Charts/raw/branch/main
|
||||||
|
version: <version>
|
||||||
|
valuesFile: values.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
kustomize build --enable-helm .
|
||||||
|
```
|
||||||
Reference in new issue
Block a user