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
1c3c161b
Unverified
Commit
1c3c161b
authored
3 years ago
by
aSauerwein
Committed by
GitHub
3 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
expose syslog port (#401)
Co-authored-by:
Ales Pour
<
ales.pour@bonitoo.io
>
parent
17baa48c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
Chart.yaml
charts/telegraf/Chart.yaml
+1
-1
service.yaml
charts/telegraf/templates/service.yaml
+8
-0
No files found.
charts/telegraf/Chart.yaml
View file @
1c3c161b
apiVersion
:
v2
apiVersion
:
v2
name
:
telegraf
name
:
telegraf
version
:
1.8.1
1
version
:
1.8.1
2
appVersion
:
1.21.2
appVersion
:
1.21.2
deprecated
:
false
deprecated
:
false
description
:
Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
description
:
Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
...
...
This diff is collapsed.
Click to expand it.
charts/telegraf/templates/service.yaml
View file @
1c3c161b
...
@@ -63,6 +63,14 @@ spec:
...
@@ -63,6 +63,14 @@ spec:
targetPort:
{{
trimPrefix
"
:
"
$value.service_address
|
int64
}}
targetPort:
{{
trimPrefix
"
:
"
$value.service_address
|
int64
}}
name:
"
webhooks"
name:
"
webhooks"
{{
- end
}}
{{
- end
}}
{{
- if eq $key "syslog"
}}
{{
- if regexMatch "^(tcp|udp).*" $value.server
}}
- port
:
{{
regexFind "
[
0-9
]
+$" $value.server | int64
}}
targetPort
:
{{
regexFind "
[
0-9
]
+$" $value.server | int64
}}
protocol
:
{{
upper (substr 0 3 $value.server)
}}
name
:
"
syslog"
{{
- end
}}
{{
- end
}}
{{
- if eq $key "socket_listener"
}}
{{
- if eq $key "socket_listener"
}}
{{
- if or (hasPrefix "udp" $value.service_address) (hasPrefix "tcp" $value.service_address)
}}
{{
- if or (hasPrefix "udp" $value.service_address) (hasPrefix "tcp" $value.service_address)
}}
- port
:
{{
regexFind "
[
0-9
]
+$" $value.service_address | int64
}}
- port
:
{{
regexFind "
[
0-9
]
+$" $value.service_address | int64
}}
...
...
This diff is collapsed.
Click to expand it.
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