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
40395c06
authored
2023-02-10 15:03:57 -0600
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Allow for the moqui pod to be a Deployment or a StatefulSet(this latter
needs further work).
1 parent
95498de6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
charts/moqui/templates/stateful-set.yaml → charts/moqui/templates/moqui.yaml
charts/moqui/values.yaml
charts/moqui/templates/
stateful-set
.yaml
→
charts/moqui/templates/
moqui
.yaml
View file @
40395c0
apiVersion
:
apps/v1
kind
:
StatefulSet
kind
:
{{
.Values.kind
}}
metadata
:
name
:
{{
include "moqui.fullname" .
}}
labels
:
...
...
@@ -8,7 +8,9 @@ spec:
{{
- if not .Values.autoscaling.enabled
}}
replicas
:
{{
.Values.replicaCount
}}
{{
- end
}}
{{
- if (eq "StatefulSet" .Values.kind)
}}
serviceName
:
{{
include "moqui.fullname" .
}}
{{
- end
}}
selector
:
matchLabels
:
{{
- include "moqui.selectorLabels" . | nindent 6
}}
...
...
charts/moqui/values.yaml
View file @
40395c0
kind
:
Deployment
imagePullSecrets
:
{}
image
:
pullPolicy
:
null
...
...
Please
register
or
sign in
to post a comment