-
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?
Conversation
|
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.
Thank you for your contribution, and i have to say great suggestion for an improvement!
@@ -38,10 +38,22 @@ spec: | |||
scheme: https | |||
tlsConfig: | |||
insecureSkipVerify: 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.
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)
@@ -38,10 +38,22 @@ spec: | |||
scheme: https | |||
tlsConfig: | |||
insecureSkipVerify: true | |||
ca: |
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.
Only if CA is enabled right? That is an option in the certs stanza of the values file.
@@ -38,10 +38,22 @@ spec: | |||
scheme: https | |||
tlsConfig: | |||
insecureSkipVerify: true | |||
ca: | |||
secret: | |||
name: {{ template "redpanda.fullname" $ }}-default-cert |
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 the default name in most cases, but not necessarily, we should check to see if a secret is being provided instead also.
No description provided.