-
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
provide client certs to servicemonitor CRDs #687
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,10 +38,22 @@ spec: | |
scheme: https | ||
tlsConfig: | ||
insecureSkipVerify: true | ||
ca: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Only if CA is enabled right? That is an option in the certs stanza of the values file. |
||
secret: | ||
name: {{ template "redpanda.fullname" $ }}-default-cert | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the default name in most cases, but not necessarily, we should check to see if a secret is being provided instead also. |
||
key: ca.crt | ||
cert: | ||
secret: | ||
name: {{ template "redpanda.fullname" $ }}-default-cert | ||
key: tls.crt | ||
key: | ||
secret: | ||
name: {{ template "redpanda.fullname" $ }}-default-cert | ||
key: tls.key | ||
{{- end }} | ||
selector: | ||
matchLabels: | ||
monitoring.redpanda.com/enabled: "true" | ||
app.kubernetes.io/name: {{ template "redpanda.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name | quote }} | ||
{{- end }} | ||
{{- end }} |
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.
Should we skip this if we are applying the certs?
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.
It makes HTTPS request to IP address (without hostname) and check SANs for the certificate (and it does not match)