-
Notifications
You must be signed in to change notification settings - Fork 72
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
[charts/sn-platform] Add prometheus pod name to sts env #1087
[charts/sn-platform] Add prometheus pod name to sts env #1087
Conversation
When specify certs.internalal_issuer.typ = secret, the output of issuer spec: ca:ca: secretName: root-ca-secret
fix syntax
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.
left comments
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.
Left comments, should remove testing values.
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.
remove test value and add empty map
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.
remove test
* fix repeat ca tag When specify certs.internalal_issuer.typ = secret, the output of issuer spec: ca:ca: secretName: root-ca-secret * Update tls-cert-internal-issuer.yaml fix syntax * add external labels * fix the var naming * pod_name is required for prometheus ha detector * missed curly quotes * remove test --------- Co-authored-by: Eric Shen <[email protected]> (cherry picked from commit bfe9657)
Motivation
Prometheus HA uses $POD_NAME to detect which pod is active. Add env POD_NAME to prometheus statefulset template.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Documentation
Check the box below.
Need to update docs?
doc-required
(If you need help on updating docs, create a doc issue)
no-need-doc
(Please explain why)
doc
(If this PR contains doc changes)