-
Notifications
You must be signed in to change notification settings - Fork 98
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
add missing tls config for loki writer #847
Conversation
add missing tls config for loki writer
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.
This is looking good. Thanks for adding it.
run make clean build test
at the top level and it should also include any generated file changes.
Note that usesKubernetesSecret
was a bug in other files. It should be usesSecret
.
{{- if eq (include "secrets.usesSecret" (dict "object" . "key" "tls.ca")) "true" }} | ||
ca_pem = {{ include "secrets.read" (dict "object" . "key" "tls.ca" "nonsensitive" true) }} | ||
{{- end }} | ||
{{- if eq (include "secrets.usesKubernetesSecret" .) "true" }} |
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.
{{- if eq (include "secrets.usesKubernetesSecret" .) "true" }} | |
{{- if eq (include "secrets.usesSecret" (dict "object" . "key" "tls.cert")) "true" }} |
{{- if eq (include "secrets.usesKubernetesSecret" .) "true" }} | ||
cert_pem = {{ include "secrets.read" (dict "object" . "key" "tls.cert" "nonsensitive" true) }} | ||
{{- end }} | ||
{{- if eq (include "secrets.usesKubernetesSecret" .) "true" }} |
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.
{{- if eq (include "secrets.usesKubernetesSecret" .) "true" }} | |
{{- if eq (include "secrets.usesSecret" (dict "object" . "key" "tls.key")) "true" }} |
add missing tls config for loki writer