rename helmfile for local version

update README.md
add helmfile.yaml to .gitignore
rename helmfile.yaml to helmfile.yaml-dev
This commit is contained in:
2025-07-28 11:18:08 +02:00
committed by swordsteel
parent 0368a2c6fa
commit c91bafd272
3 changed files with 20 additions and 5 deletions

1
.gitignore vendored
View File

@@ -3,3 +3,4 @@ cert/
http/*/http-client.env.json http/*/http-client.env.json
helm/values/*/ helm/values/*/
helm/charts/02-database/Chart.lock helm/charts/02-database/Chart.lock
helm/helmfile.yaml

View File

@@ -1,35 +1,49 @@
# Hlæja Helm # Hlæja Helm
Copy `helmfile.yaml-dev` to `helmfile.yaml` and start to add your environment.
## Set up helm environment ## Set up helm environment
how to set up [Enviorment](./values/README.md) how to set up [Enviorment](./values/README.md)
## Deploy to Kubernete ## Command using kubectl and helmfile
> ⚠️**Warning:** always use `--selector namespace=<releasesEnviorment>` when running `helmfile` or **risk** lose it all!!! ⚠️ > ⚠️**Warning:** always use `--selector namespace=<releasesEnviorment>` when running `helmfile` or **risk** lose it all!!! ⚠️
> **Info:** limit even more by using `--selector namespace=<releasesEnviorment>,name=<releasesName>` > **Info:** limit even more by using `--selector namespace=<releasesEnviorment>,name=<releasesName>`
Create everything for a name space **Info:** Create everything for a name space
```shell ```shell
helmfile --selector namespace=testing apply helmfile --selector namespace=testing apply
``` ```
Destroy everything for a name space ⚠️**Warning:** Destroy everything for a name space
```shell ```shell
helmfile --selector namespace=testing destroy helmfile --selector namespace=testing destroy
``` ```
Create initialize for a name space **Info:** Create initialize for a name space
```shell ```shell
helmfile --selector namespace=testing,name=initialize apply helmfile --selector namespace=testing,name=initialize apply
``` ```
Destroy initialize for a name space ⚠️**Warning:** Destroy initialize for a name space
```shell ```shell
helmfile --selector namespace=testing,name=initialize destroy helmfile --selector namespace=testing,name=initialize destroy
``` ```
**Info:** Get status
```shell
kubectl get secret,cm,pvc,pod,svc -n testing
```
⚠️**Warning:** Delete everything!
```shell
kubectl delete ns testing
```