Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
influxdb
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
influxdb
Commits
1f61245b
Unverified
Commit
1f61245b
authored
Dec 03, 2021
by
Greg Robinson
Committed by
GitHub
Dec 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ingress to v1 from v1beta1 for Influxdb2. (#386)
parent
e62e767e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
8 deletions
+20
-8
Chart.yaml
charts/influxdb2/Chart.yaml
+1
-1
ingress.yaml
charts/influxdb2/templates/ingress.yaml
+19
-7
No files found.
charts/influxdb2/Chart.yaml
View file @
1f61245b
...
...
@@ -5,7 +5,7 @@ name: influxdb2
description
:
A Helm chart for InfluxDB v2
home
:
https://www.influxdata.com/products/influxdb/
type
:
application
version
:
2.0.
2
version
:
2.0.
3
maintainers
:
-
name
:
rawkode
email
:
rawkode@influxdata.com
...
...
charts/influxdb2/templates/ingress.yaml
View file @
1f61245b
{{
- if .Values.ingress.enabled -
}}
{{
- if .Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress"
}}
apiVersion
:
networking.k8s.io/v1
{{
- else
}}
apiVersion
:
networking.k8s.io/v1beta1
{{
- end
}}
kind
:
Ingress
metadata
:
name
:
{{
include "influxdb.fullname" .
}}
labels
:
{{
- include "influxdb.labels" . | nindent 4
}}
{{
- with .Values.ingress.annotations
}}
annotations
:
{{
- toYaml . | nindent 4
}}
{{
- end
}}
{{
toYaml .Values.ingress.annotations | indent 4
}}
spec
:
{{
- if .Values.ingress.ingressClassName
}}
ingressClassName
:
{{
.Values.ingress.ingressClassName
}}
{{
- end -
}}
{{
- if .Values.ingress.tls
}}
tls
:
-
hosts
:
-
{{
.Values.ingress.hostname | quote
}}
secretName
:
{{
.Values.ingress.secretName
}}
{{
- end
}}
{{
- if .Values.ingress.className
}}
ingressClassName
:
{{
.Values.ingress.className
}}
{{
- end
}}
rules
:
-
host
:
{{
.Values.ingress.hostname
}}
http
:
paths
:
-
path
:
{{
.Values.ingress.path
}}
{{
- if .Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress"
}}
pathType
:
Prefix
{{
- end
}}
backend
:
{{
- if .Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress"
}}
service
:
name
:
{{
include "influxdb.fullname" .
}}
port
:
number
:
8086
{{
- else
}}
serviceName
:
{{
include "influxdb.fullname" .
}}
servicePort
:
{{
.Values.service.portName
}}
servicePort
:
8086
{{
- 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