diff --git a/charts/generic/Chart.yaml b/charts/generic/Chart.yaml index 971101cc..6361bb76 100644 --- a/charts/generic/Chart.yaml +++ b/charts/generic/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: generic description: A chart for generic applications. Use this if you need to deploy something without wanting to build a fully fledged new helm chart. type: application -version: 3.0.2 +version: 3.0.3 maintainers: - name: morre email: charts@mor.re diff --git a/charts/generic/README.md b/charts/generic/README.md index 97626de6..6e58dcb1 100644 --- a/charts/generic/README.md +++ b/charts/generic/README.md @@ -1,6 +1,6 @@ # generic -![Version: 3.0.2](https://img.shields.io/badge/Version-3.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 3.0.3](https://img.shields.io/badge/Version-3.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) A chart for generic applications. Use this if you need to deploy something without wanting to build a fully fledged new helm chart. @@ -10,6 +10,29 @@ A chart for generic applications. Use this if you need to deploy something witho | ---- | ------ | --- | | morre | charts@mor.re | | +## Complex values + +### env + +You can set environment variables directly with: + +```yaml +env: + ENV_VARIABLE_NAME: "value" +``` + +### envValueFrom + +This enables a simplified syntax to set envirnoment variables from a ConfigMap or Secret: + +```yaml +envValueFrom: + USER: + secretKeyRef: + name: secret-name + key: user +``` + ## Upgrading ### To 3.0.0 diff --git a/charts/generic/README.md.gotmpl b/charts/generic/README.md.gotmpl index d21efdbe..0dcd86bb 100644 --- a/charts/generic/README.md.gotmpl +++ b/charts/generic/README.md.gotmpl @@ -8,6 +8,29 @@ {{ template "chart.sourcesSection" . }} {{ template "chart.requirementsSection" . }} +## Complex values + +### env + +You can set environment variables directly with: + +```yaml +env: + ENV_VARIABLE_NAME: "value" +``` + +### envValueFrom + +This enables a simplified syntax to set envirnoment variables from a ConfigMap or Secret: + +```yaml +envValueFrom: + USER: + secretKeyRef: + name: secret-name + key: user +``` + ## Upgrading ### To 3.0.0