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:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user