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
36f3e5db
authored
2023-02-10 18:10:34 -0600
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Use an initContainer to populate and update the database.
1 parent
f9742211
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
charts/moqui/templates/moqui.yaml
charts/moqui/templates/moqui.yaml
View file @
36f3e5d
...
...
@@ -54,12 +54,12 @@ spec:
done
{{
- end
}}
containers
:
-
name
:
{{
.Chart.Name
}}
{{
- define "moqui-container-pod"
}}
securityContext
:
{{
- toYaml .Values.securityContext | nindent 12
}}
image
:
"
{{
.Values.image.repository
}}:{{
.Values.image.tag
|
default
.Chart.AppVersion
}}"
imagePullPolicy
:
{{
.Values.image.pullPolicy
}}
command
:
[
"
java"
,
"
-server"
,
"
-XX:-OmitStackTraceInFastThrow"
,
"
-cp"
,
"
."
,
"
MoquiStart"
]
envFrom
:
-
configMapRef
:
name
:
{{
include "moqui.fullname" .
}}
...
...
@@ -87,6 +87,16 @@ spec:
volumeMounts
:
-
mountPath
:
/opt/moqui/runtime/elasticsearch
name
:
disable-elasticsearch
{{
- end
}}
-
name
:
load
{{
include "moqui-container-pod" .
}}
args
:
[
"
load"
]
containers
:
-
name
:
{{
.Chart.Name
}}
{{
include "moqui-container-pod" .
}}
args
:
[
"
run"
]
ports
:
-
name
:
http-moqui
...
...
Please
register
or
sign in
to post a comment