-
Notifications
You must be signed in to change notification settings - Fork 116
PWX-26915-pt1: Auto-TLS support #2159
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
Conversation
* change to "full" service names when using Kuberenetes DNS for discovery * adding Kuberenetes CA for gRPC dial-opts when SSL enabled Signed-off-by: Zoran Rajic <[email protected]>
| } | ||
| } | ||
|
|
||
| tlsDialOptions, err := grpcserver.GetTlsDialOptions(rootCA) |
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 the above condition fails... is there a logging message we want to add?
jrivera-px
left a comment
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 .. I was thinking that if the CA is required at this point for k8s do we want to log something if its not avail?
I think we should be OK "as is" --
|
Signed-off-by: Zoran Rajic <[email protected]>
7e28305 to
6a479ac
Compare
|
note.. re-pushed |
Signed-off-by: Zoran Rajic <[email protected]>
|
Thanks for the review Jose -- merging the PR |
* moved K8s CA addition into `appendK8sCaCertBytes()` * calling it from both `BuildTlsConfig()` and `BuildDialOps()`
* moved K8s CA addition into `appendK8sCaCertBytes()` * calling it from both `BuildTlsConfig()` and `BuildDialOps()` Signed-off-by: Zoran Rajic <[email protected]>
* moved K8s CA addition into `appendK8sCaCertBytes()` * calling it from both `BuildTlsConfig()` and `BuildDialOps()` Signed-off-by: Zoran Rajic <[email protected]>
* moved K8s CA addition into `appendK8sCaCertBytes()` * calling it from both `BuildTlsConfig()` and `BuildDialOps()` Signed-off-by: Zoran Rajic <[email protected]>
* moved K8s CA addition into `appendK8sCaCertBytes()` * calling it from both `BuildTlsConfig()` and `BuildDialOps()` Signed-off-by: Zoran Rajic <[email protected]>
* moved K8s CA addition into `appendK8sCaCertBytes()` * calling it from both `BuildTlsConfig()` and `BuildDialOps()` Signed-off-by: Zoran Rajic <[email protected]>
Signed-off-by: Zoran Rajic [email protected]
What this PR does / why we need it:
These changes are a part of the "auromatic SSL/TLS setup" effort
portworx-service.kube-system.svc.cluster.localportworx-service.kube-systemdns-alias will result in SSL-validation errorsWhich issue(s) this PR fixes (optional)
Closes # PWX-26915 (part 1)
Special notes for your reviewer: