Skip to content

Commit

Permalink
feat: Allows template inside .Values.env (#365)
Browse files Browse the repository at this point in the history
* feat: Allows templating inside .Values.env

Signed-off-by: MARCHELLI Laurent <laurent.marchelli@gmail.com>

* chore: bump version of chart

Signed-off-by: Engin Diri <engin.diri@ediri.de>
---------

Signed-off-by: MARCHELLI Laurent <laurent.marchelli@gmail.com>
Signed-off-by: Engin Diri <engin.diri@ediri.de>
Co-authored-by: Engin Diri <engin.diri@ediri.de>
  • Loading branch information
LaurentMarchelli and dirien authored Nov 22, 2024
1 parent 14ce6d0 commit cd59c59
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions charts/node-red/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ icon: https://nodered.org/about/resources/media/node-red-icon-2.png

type: application

version: 0.33.0
version: 0.33.1
appVersion: 4.0.3

keywords:
Expand All @@ -29,7 +29,7 @@ maintainers:
annotations:
artifacthub.io/containsSecurityUpdates: "false"
artifacthub.io/changes: |
- update docker.io/nodered/node-red to 4.0.3
- Allows template inside .Values.env
artifacthub.io/images: |
- name: node-red
image: docker.io/nodered/node-red:4.0.3
Expand Down
6 changes: 3 additions & 3 deletions charts/node-red/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# node-red ⚙

![Version: 0.33.0](https://img.shields.io/badge/Version-0.33.0-informational?style=for-the-badge) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=for-the-badge) ![AppVersion: 4.0.3](https://img.shields.io/badge/AppVersion-4.0.3-informational?style=for-the-badge)
![Version: 0.33.1](https://img.shields.io/badge/Version-0.33.1-informational?style=for-the-badge) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=for-the-badge) ![AppVersion: 4.0.3](https://img.shields.io/badge/AppVersion-4.0.3-informational?style=for-the-badge)

[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/node-red&style=for-the-badge)](https://artifacthub.io/packages/search?repo=node-red)
[![SIT](https://img.shields.io/badge/SIT-awesome-blueviolet.svg?style=for-the-badge)](https://jobs.schwarz)
Expand All @@ -16,7 +16,7 @@ A Helm chart for Node-Red, a low-code programming for event-driven applications
To install the chart using the OCI artifact, run:

```bash
helm install node-red oci://ghcr.io/schwarzit/charts/node-red --version 0.33.0
helm install node-red oci://ghcr.io/schwarzit/charts/node-red --version 0.33.1
```

## Usage
Expand All @@ -32,7 +32,7 @@ helm repo update
To install the chart with the release name node-red run:

```bash
helm install node-red node-red/node-red --version 0.33.0
helm install node-red node-red/node-red --version 0.33.1
```

After a few seconds, node-red should be running.
Expand Down
2 changes: 1 addition & 1 deletion charts/node-red/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ spec:
value: {{ .Values.metrics.path | default "/metrics" }}
{{- end }}
{{- with .Values.env }}
{{- toYaml . | nindent 10 }}
{{- tpl (toYaml .) $ | nindent 10 }}
{{- end }}
{{- end }}
{{- if .Values.envFrom }}
Expand Down

0 comments on commit cd59c59

Please sign in to comment.