Skip to content

Commit

Permalink
invenio config: allow templated content
Browse files Browse the repository at this point in the history
  • Loading branch information
egabancho authored and lindhe committed Dec 5, 2024
1 parent 9ab65b2 commit 9cb7d37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/invenio/templates/invenio-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ data:
INVENIO_DATACITE_ENABLED: "False"
INVENIO_LOGGING_CONSOLE_LEVEL: "WARNING"
{{- range $key, $value := .Values.invenio.extra_config }}
{{ $key }}: {{ $value | toYaml | indent 4 | trim }}
{{ $key }}: {{ tpl $value $ | toYaml | indent 5 | trim }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/invenio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ invenio:
- name: ""
consumer_key: ""
consumer_secret: ""
## @param invenio.extra_config Extra environment variables (templated) to be added to all the pods.
##
extra_config: {}
extra_env_from_secret: []
# - name: NAME_OF_MY_ENV_VAR
Expand Down

0 comments on commit 9cb7d37

Please sign in to comment.