Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
moqui
/
k8s-moqui
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
332c7a5f
authored
2023-03-06 17:06:47 -0600
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add extraEnvs support.
1 parent
24fb3db8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
charts/moqui/templates/_helpers.tpl
charts/moqui/templates/moqui.yaml
charts/moqui/values.yaml
charts/moqui/templates/_helpers.tpl
View file @
332c7a5
...
...
@@ -183,3 +183,9 @@ spec:
{{- end }}
{{- end }}
{{- define "moqui.extraEnvs" }}
{{- if .Values.extraEnvs }}
{{ .Values.extraEnvs | toYaml }}
{{- end }}
{{- end }}
...
...
charts/moqui/templates/moqui.yaml
View file @
332c7a5
...
...
@@ -111,6 +111,7 @@ spec:
optional
:
false
-
name
:
elasticsearch_url
value
:
{{
include "moqui.opensearch-url" .
}}
{{
- include "moqui.extraEnvs" . | nindent 12
}}
volumeMounts
:
-
mountPath
:
/opt/moqui/runtime/lib
name
:
runtime-lib
...
...
charts/moqui/values.yaml
View file @
332c7a5
...
...
@@ -15,6 +15,8 @@ configMap:
entity_ds_user
:
"
moqui"
elasticsearch_user
:
"
admin"
extraEnvs
:
[]
persistence
:
db
:
enabled
:
true
...
...
Please
register
or
sign in
to post a comment