-
Notifications
You must be signed in to change notification settings - Fork 717
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
Kibana HTTP certificates #1148
Kibana HTTP certificates #1148
Conversation
operators/pkg/controller/elasticsearch/validation/validations.go
Outdated
Show resolved
Hide resolved
@thbkrkr I have fixed the issues you found could you take another look? |
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!
Nice to see how we can reuse ES TLS stuff!
// Enabled returns true when TLS is enabled based on this option struct. | ||
func (tls TLSOptions) Enabled() bool { | ||
selfSigned := tls.SelfSignedCertificate | ||
return selfSigned == nil || !selfSigned.Disabled || tls.Certificate.SecretName != "" |
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.
Looks tricky enough to deserve a unit test maybe?
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.
added
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!
Fixes #90
elasticsearch/http
package to be reused from Kibana & Elasticsearch