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
75913edf
Commit
75913edf
authored
Mar 30, 2020
by
joesteffee
Committed by
David McKay
Apr 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make _v2 its own config
avoid potential regression
parent
36f15e7a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
service.yaml
charts/telegraf/templates/service.yaml
+5
-0
No files found.
charts/telegraf/templates/service.yaml
View file @
75913edf
...
...
@@ -28,6 +28,11 @@ spec:
{{
- range $objectKey
,
$objectValue
:
= .Values.config.inputs
}}
{{
- range $key
,
$value
:
= . -
}}
{{
- $tp
:
= typeOf $value -
}}
{{
- if eq $key "http_listener"
}}
- port
:
{{
trimPrefix "
:
"
$value.service_address
|
int64
}}
targetPort:
{{
trimPrefix
"
:
"
$value.service_address
|
int64
}}
name:
"
http-listener"
{{
- end
}}
{{
- if eq $key "http_listener_v2"
}}
- port
:
{{
trimPrefix "
:
"
$value.service_address
|
int64
}}
targetPort:
{{
trimPrefix
"
:
"
$value.service_address
|
int64
}}
...
...
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