-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[kube-prometheus-stack] Thanos Ruler: Support omit externalPrefix with externalPrefixNilUsesHelmValues=true, if ingress is enabled #4454
Conversation
247804d
to
95f714a
Compare
…h externalPrefixNilUsesHelmValues=true, if ingress is enabled Signed-off-by: Jan-Otto Kröpke <[email protected]>
95f714a
to
420df22
Compare
Signed-off-by: Jan-Otto Kröpke <[email protected]>
Signed-off-by: Jan-Otto Kröpke <[email protected]>
Signed-off-by: Jan-Otto Kröpke <[email protected]>
Signed-off-by: Jan-Otto Kröpke <[email protected]>
@QuentinBisson @GMartinez-Sisti If you could take an eye here, I would appreciate it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, can you bump the version?
Signed-off-by: Jan-Otto Kröpke <[email protected]>
Sure, I have to. |
Signed-off-by: Jan-Otto Kröpke <[email protected]>
Signed-off-by: Jan-Otto Kröpke <[email protected]>
@@ -31,10 +31,12 @@ spec: | |||
listenLocal: {{ .Values.thanosRuler.thanosRulerSpec.listenLocal }} | |||
serviceAccountName: {{ template "kube-prometheus-stack.thanosRuler.serviceAccountName" . }} | |||
{{- if .Values.thanosRuler.thanosRulerSpec.externalPrefix }} | |||
externalPrefix: "{{ tpl .Values.thanosRuler.thanosRulerSpec.externalPrefix . }}" | |||
externalPrefix: {{ tpl .Values.thanosRuler.thanosRulerSpec.externalPrefix . | quote }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jkroepke coming back to reviewing those, is that still needed with the PR to clean up the UsesHelmValues
?
What this PR does / why we need it
I would like to use
web.prefix-header
instead an static prefix fromexternalPrefix
. Thats works only, if externalPrefix is fully omit.Which issue this PR fixes
(optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged)Special notes for your reviewer
Checklist
[prometheus-couchdb-exporter]
)