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
d3f2efb8
authored
2023-02-15 19:03:43 -0600
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add an Ingress object.
1 parent
2e3a2ef0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
0 deletions
charts/moqui/templates/ingress.yaml
charts/moqui/values.yaml
charts/moqui/templates/ingress.yaml
0 → 100644
View file @
d3f2efb
{{
- if .Values.ingress.enabled
}}
apiVersion
:
networking.k8s.io/v1
kind
:
Ingress
metadata
:
name
:
{{
include "moqui.fullname" .
}}
labels
:
{{
- include "moqui.labels" . | nindent 4
}}
annotations
:
{{
.Values.ingress.annotations | toYaml | nindent 4
}}
spec
:
ingressClassName
:
{{
.Values.ingress.ingressClassName
}}
rules
:
{{
- range .Values.ingress.hosts
}}
-
host
:
{{
.
}}
http
:
paths
:
-
path
:
/
pathType
:
Prefix
backend
:
service
:
name
:
{{
include "moqui.fullname" $
}}
port
:
name
:
http-moqui
{{
- end
}}
{{
- if .Values.ingress.tls.enabled
}}
tls
:
-
hosts
:
{{
.Values.ingress.hosts | toYaml | nindent 8
}}
secretName
:
{{
.Values.ingress.tls.secretName
}}
{{
- end
}}
{{
- end
}}
charts/moqui/values.yaml
View file @
d3f2efb
...
...
@@ -43,6 +43,14 @@ service:
port
:
8080
ingress
:
enabled
:
false
annotations
:
{}
ingressClassName
:
"
"
hosts
:
-
moqui.local
tls
:
enabled
:
false
secretName
:
moqui-tls
virtualService
:
enabled
:
false
gateways
:
...
...
Please
register
or
sign in
to post a comment