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

Replace Consul SkipVerifyTLS handling #3983

Closed
wants to merge 1 commit into from

Conversation

schmichael
Copy link
Member

Instead of checking Consul's version on startup to see if it supports
SkipVerifyTLS, assume that it does and only log in the job service
handler if we discover Consul does not support SkipVerifyTLS.

The old code would break SkipVerifyTLS support if Nomad started before
Consul (such as on system boot) as SkipVerifyTLS would default to false
if Consul wasn't running. Since SkipVerifyTLS has been supported since
Consul 0.7.2, it's safe to relax our handling.

Instead of checking Consul's version on startup to see if it supports
TLSSkipVerify, assume that it does and only log in the job service
handler if we discover Consul does not support TLSSkipVerify.

The old code would break TLSSkipVerify support if Nomad started before
Consul (such as on system boot) as TLSSkipVerify would default to false
if Consul wasn't running. Since TLSSkipVerify has been supported since
Consul 0.7.2, it's safe to relax our handling.
@schmichael schmichael closed this Mar 15, 2018
@schmichael schmichael deleted the f-loosen-consul-skipverify branch March 16, 2018 18:21
@github-actions
Copy link

github-actions bot commented Mar 9, 2023

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant