From c91bafd272d0b536d5d4d899421fb3c76535811e Mon Sep 17 00:00:00 2001 From: Swordsteel Date: Mon, 28 Jul 2025 11:18:08 +0200 Subject: [PATCH] rename helmfile for local version update README.md add helmfile.yaml to .gitignore rename helmfile.yaml to helmfile.yaml-dev --- .gitignore | 1 + helm/README.md | 24 ++++++++++++++++++----- helm/{helmfile.yaml => helmfile.yaml-dev} | 0 3 files changed, 20 insertions(+), 5 deletions(-) rename helm/{helmfile.yaml => helmfile.yaml-dev} (100%) diff --git a/.gitignore b/.gitignore index cbce7d6..37aba03 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ cert/ http/*/http-client.env.json helm/values/*/ helm/charts/02-database/Chart.lock +helm/helmfile.yaml diff --git a/helm/README.md b/helm/README.md index aac8c15..280664b 100644 --- a/helm/README.md +++ b/helm/README.md @@ -1,35 +1,49 @@ # Hlæja Helm +Copy `helmfile.yaml-dev` to `helmfile.yaml` and start to add your environment. + ## Set up helm environment how to set up [Enviorment](./values/README.md) -## Deploy to Kubernete +## Command using kubectl and helmfile > ⚠️**Warning:** always use `--selector namespace=` when running `helmfile` or **risk** lose it all!!! ⚠️ > **Info:** limit even more by using `--selector namespace=,name=` -Create everything for a name space +**Info:** Create everything for a name space ```shell helmfile --selector namespace=testing apply ``` -Destroy everything for a name space +⚠️**Warning:** Destroy everything for a name space ```shell helmfile --selector namespace=testing destroy ``` -Create initialize for a name space +**Info:** Create initialize for a name space ```shell helmfile --selector namespace=testing,name=initialize apply ``` -Destroy initialize for a name space +⚠️**Warning:** Destroy initialize for a name space ```shell 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 +``` diff --git a/helm/helmfile.yaml b/helm/helmfile.yaml-dev similarity index 100% rename from helm/helmfile.yaml rename to helm/helmfile.yaml-dev