Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
system-charts
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
system-charts
Commits
a2ad74ef
Commit
a2ad74ef
authored
Jan 20, 2020
by
shanewxy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow for configuring remote read and write endpoints
https://github.com/rancher/rancher/issues/20624
parent
b7be5126
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
prometheus.yaml
...toring/v0.0.8/charts/prometheus/templates/prometheus.yaml
+6
-3
No files found.
charts/rancher-monitoring/v0.0.8/charts/prometheus/templates/prometheus.yaml
View file @
a2ad74ef
...
...
@@ -151,10 +151,13 @@ spec:
serviceMonitorSelector
:
{{
toYaml .Values.serviceMonitorSelector | indent 4
}}
{{
- end
}}
{{
- if
and (eq .Values.level "project") (eq .Values.sync.mode "remote")
}}
{{
- if
.Values.remoteRead
}}
remoteRead
:
-
bearerTokenFile
:
/var/run/secrets/kubernetes.io/serviceaccount/token
url
:
{{
printf "%s%s" .Values.sync.target .Values.sync.path
}}
{{
toYaml .Values.remoteRead | indent 4
}}
{{
- end
}}
{{
- if .Values.remoteWrite
}}
remoteWrite
:
{{
toYaml .Values.remoteWrite | indent 4
}}
{{
- end
}}
{{
include "rule.namespace.selector" . | indent 2
}}
{{
include "rule.selector" . | indent 2
}}
...
...
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