Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
TestProjectDevEnv01
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
aray
TestProjectDevEnv01
Commits
c2e8f23a
Commit
c2e8f23a
authored
Feb 28, 2023
by
skahate
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ingress.yaml
parent
0d8b7ae6
Pipeline
#7032
failed with stages
in 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
12 deletions
+9
-12
ingress.yaml
helm/service/templates/ingress.yaml
+9
-12
No files found.
helm/service/templates/ingress.yaml
View file @
c2e8f23a
{{
- if .Values.ingress.enabled -
}}
{{
- $fullName
:
= include "
SERVICE_NAME
.fullname" . -
}}
{{
- $fullName
:
= include "
project1400
.fullname" . -
}}
{{
- $ingressPaths
:
= .Values.ingress.paths -
}}
apiVersion
:
extensions/v1beta1
kind
:
Ingress
metadata
:
name
:
{{
$fullName
}}
labels
:
app.kubernetes.io/name
:
{{
include "
SERVICE_NAME
.name" .
}}
helm.sh/chart
:
{{
include "
SERVICE_NAME
.chart" .
}}
app.kubernetes.io/name
:
{{
include "
project1400
.name" .
}}
helm.sh/chart
:
{{
include "
project1400
.chart" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
app.kubernetes.io/managed-by
:
{{
.Release.Service
}}
annotations
:
...
...
@@ -26,7 +26,8 @@ metadata:
alb.ingress.kubernetes.io/success-codes
:
'
200,302'
alb.ingress.kubernetes.io/healthy-threshold-count
:
'
2'
alb.ingress.kubernetes.io/unhealthy-threshold-count
:
'
2'
alb.ingress.kubernetes.io/load-balancer-name
:
{{
$fullName
}}
alb.ingress.kubernetes.io/load-balancer-name
:
{{
.Values.ingress.loadbalancername
}}
spec
:
{{
- if .Values.ingress.tls
}}
tls
:
...
...
@@ -40,16 +41,12 @@ spec:
{{
- end
}}
rules
:
{{
- range .Values.ingress.hosts
}}
-
host
:
{{
.
| quote
}}
-
host
:
{{
.
host
}}
http
:
paths
:
{{
- range $ingressPaths
}}
-
path
:
{{
.
}}
-
path
:
/*
backend
:
service
:
name
:
{{
$fullName
}}
port
:
number
:
80
{{
- end
}}
serviceName
:
{{
.serviceName
}}
servicePort
:
{{
.servicePort
}}
{{
- end
}}
{{
- end
}}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment