Allow to specify consul scheme (only HTTP is allowed at the moment)#152
Open
mcapuccini wants to merge 1 commit intodocker:masterfrom
Open
Allow to specify consul scheme (only HTTP is allowed at the moment)#152mcapuccini wants to merge 1 commit intodocker:masterfrom
mcapuccini wants to merge 1 commit intodocker:masterfrom
Conversation
Signed-off-by: Marco Capuccini <marco.capuccini@farmbio.uu.se>
Author
|
@GordonTheTurtle done... now I have to understand why the CI fails. From the log it seems like it can't download the consul binary. Any suggestion? |
Author
|
@GordonTheTurtle ... just noticed that you are bot haha |
Author
|
This is going to pass after #154 is merged |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello! This fixes #151.
This line https://github.com/docker/libkv/blob/master/store/consul/consul.go#L77 overwrites the setting that I am trying to pass via the environment variable
CONSUL_HTTP_SSLto the hashicorp API. This makes impossible to connect to a consul server with HTTPS, and it is causing an issue in Traefik: traefik/traefik#1275.Fixing the scheme to "https" shouldn't be necessary, as the hashicorp API does it by default (https://github.com/hashicorp/consul/blob/8a5164e14aa5464f807eed493c2fb70329ef2135/api/api.go#L216), so I guess you could remove that line.