Skip to content

Commit d62b658

Browse files
authored
feat: add extraEnv to helm chart values (#3924)
1 parent cf1b176 commit d62b658

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

charts/nuts-node/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ of. However, we do need to expose the `http` and `gRPC` ports. This is extracted
2626
| `http.external.address` (must align with `service.external.internalPort`) | :8080 |
2727
| `http.internal.address` (must align with `service.internal.internalPort`) | :8081 |
2828
| `network.grpcaddr` | :5555 |
29+
| `extraEnv` | not set |
2930

3031
For the `nuts-node` port, the `service.internalPort` can simply be used. For gRPC, the Helm chart filters out all digits
3132
after the last `:` character. If not set, defaults will be used.

charts/nuts-node/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ spec:
4444
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
4545
imagePullPolicy: {{ .Values.image.pullPolicy }}
4646
env:
47+
{{- with .Values.extraEnv }}
48+
{{ toYaml . | nindent 12 }}
49+
{{- end }}
4750
- name: NUTS_CONFIGFILE
4851
value: "/opt/nuts/nuts.yaml"
4952
{{- if .Values.storage}}

0 commit comments

Comments
 (0)