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
34c2b652
Unverified
Commit
34c2b652
authored
Nov 24, 2021
by
Jorik Jonker
Committed by
GitHub
Nov 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
influxdb: support v1 ingress (#352)
Chart was lacking v1 ingress support, which makes it impossible to deploy on Kubernetes 1.22. Signed-off-by:
Jorik Jonker
<
jorik.jonker@eu.equinix.com
>
parent
2f3e8859
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
Chart.yaml
charts/influxdb/Chart.yaml
+1
-1
ingress.yaml
charts/influxdb/templates/ingress.yaml
+14
-0
No files found.
charts/influxdb/Chart.yaml
View file @
34c2b652
apiVersion
:
v1
apiVersion
:
v1
name
:
influxdb
name
:
influxdb
version
:
4.10.
0
version
:
4.10.
1
appVersion
:
1.8.6
appVersion
:
1.8.6
description
:
Scalable datastore for metrics, events, and real-time analytics.
description
:
Scalable datastore for metrics, events, and real-time analytics.
keywords
:
keywords
:
...
...
charts/influxdb/templates/ingress.yaml
View file @
34c2b652
{{
- if .Values.ingress.enabled -
}}
{{
- if .Values.ingress.enabled -
}}
{{
- if .Capabilities.APIVersions.Has "networking.k8s.io/v1"
}}
apiVersion
:
networking.k8s.io/v1
{{
- else
}}
apiVersion
:
networking.k8s.io/v1beta1
apiVersion
:
networking.k8s.io/v1beta1
{{
- end
}}
kind
:
Ingress
kind
:
Ingress
metadata
:
metadata
:
name
:
{{
include "influxdb.fullname" .
}}
name
:
{{
include "influxdb.fullname" .
}}
...
@@ -22,7 +26,17 @@ spec:
...
@@ -22,7 +26,17 @@ spec:
http
:
http
:
paths
:
paths
:
-
path
:
{{
.Values.ingress.path
}}
-
path
:
{{
.Values.ingress.path
}}
{{
- if .Capabilities.APIVersions.Has "networking.k8s.io/v1"
}}
pathType
:
Prefix
{{
- end
}}
backend
:
backend
:
{{
- if .Capabilities.APIVersions.Has "networking.k8s.io/v1"
}}
service
:
name
:
{{
include "influxdb.fullname" .
}}
port
:
number
:
8086
{{
- else
}}
serviceName
:
{{
include "influxdb.fullname" .
}}
serviceName
:
{{
include "influxdb.fullname" .
}}
servicePort
:
8086
servicePort
:
8086
{{
- end
}}
{{
- 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