Skip to content
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

fix(kubernetes/health): Fix Gate health check with SSL enabled #1051

Merged
merged 1 commit into from
Oct 3, 2018
Merged

fix(kubernetes/health): Fix Gate health check with SSL enabled #1051

merged 1 commit into from
Oct 3, 2018

Conversation

ezimanyi
Copy link
Contributor

@ezimanyi ezimanyi commented Oct 3, 2018

The gate health check is currently broken when SSL is enabled. The request is to the localhost domain and does not pass in any additional trusted CA's; the request will thus fail unless gate presents a certificate for localhost issued by a root CA (which I believe will never be validly issued). As the request is within the pod to localhost, validating the certificate does not have high value, so just pass a flag to wget to skip certificate validation.

The gate health check is currently broken when SSL is enabled. The
request is to the localhost domain and does not pass in any additional
trusted CA's; the request will thus fail unless gate presents a
certificate for localhost issued by a root CA (which I believe will
never be validly issued). As the request is within the pod to localhost,
validating the certificate does not have high value, so just pass a flag
to wget to skip certificate validation.
@ezimanyi ezimanyi requested a review from lwander October 3, 2018 02:52
@ezimanyi
Copy link
Contributor Author

ezimanyi commented Oct 3, 2018

Ran into this myself, but I believe it closes spinnaker/spinnaker#2566

Copy link
Member

@lwander lwander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@lwander lwander merged commit bb64152 into spinnaker:master Oct 3, 2018
@ezimanyi ezimanyi deleted the fix-health-check branch October 3, 2018 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants