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

http_proxy breaks vault-init #70

Closed
Reifier opened this issue Mar 6, 2020 · 2 comments
Closed

http_proxy breaks vault-init #70

Reifier opened this issue Mar 6, 2020 · 2 comments

Comments

@Reifier
Copy link

Reifier commented Mar 6, 2020

What did you expect to happen?
I'd like to use k8s auth method with vault and a private k8s master on gke. However, private master endpoint requires an http(s) proxy. I expect to edit the terraform file with ss env variables, put the http_proxy env var into vault container and have it run as normal.

          env {
            name  = "HTTP_PROXY"
            value = "http://10.48.24.61:8118"
          }

What actually happened?
Stateful set fails to start

Output

kubectl logs vault-0 vault-init
2020/03/06 01:23:15 Starting the vault-init service...
2020/03/06 01:23:15 Head http://127.0.0.1:8200/v1/sys/health: dial tcp 127.0.0.1:8200: connect: connection refused
2020/03/06 01:23:25 Head http://127.0.0.1:8200/v1/sys/health: dial tcp 127.0.0.1:8200: connect: connection refused

Additional context
Note that I don't even modify vault-init. Only vault container env vars. Nevertheless init phase never finishes.

@sethvargo
Copy link
Owner

The vault-init container does not seem to support proxy configuration. Please open an upstream issue.

@sethvargo
Copy link
Owner

The vault-init container does not seem to support proxy configuration. Please open an upstream issue.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants