Skip to content

Commit 1ec4685

Browse files
authored
Merge pull request #16 from nl-portal/bugfix/missing-env-var-template
feat: add extraEnvVars to nl-portal-frontend
2 parents 9f45522 + 12c7227 commit 1ec4685

3 files changed

Lines changed: 16 additions & 2 deletions

File tree

charts/nl-portal-frontend/nl-portal-frontend/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ appVersion: 2.x.y
33
description: Nl Portal frontend Helm chart to be used in Kubernetes clusters.
44
name: nl-portal-frontend
55
type: application
6-
version: 2.0.1
6+
version: 2.0.2

charts/nl-portal-frontend/nl-portal-frontend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# nl-portal-frontend
22

3-
![Version: 2.0.1](https://img.shields.io/badge/Version-2.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.x.y](https://img.shields.io/badge/AppVersion-2.x.y-informational?style=flat-square)
3+
![Version: 2.0.2](https://img.shields.io/badge/Version-2.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.x.y](https://img.shields.io/badge/AppVersion-2.x.y-informational?style=flat-square)
44

55
Nl Portal frontend Helm chart to be used in Kubernetes clusters.
66

charts/nl-portal-frontend/nl-portal-frontend/templates/_helpers.tpl

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,17 @@ Create the name of the service account to use
6060
{{- default "default" .Values.serviceAccount.name }}
6161
{{- end }}
6262
{{- end }}
63+
64+
{{/* vim: set filetype=mustache: */}}
65+
{{/*
66+
Renders a value that contains template.
67+
Usage:
68+
{{ include "nl-portal-backend.tplvalues.render" ( dict "value" .Values.path.to.the.Value "context" $) }}
69+
*/}}
70+
{{- define "nl-portal-backend.tplvalues.render" -}}
71+
{{- if typeIs "string" .value }}
72+
{{- tpl .value .context }}
73+
{{- else }}
74+
{{- tpl (.value | toYaml) .context }}
75+
{{- end }}
76+
{{- end -}}

0 commit comments

Comments
 (0)