-
Notifications
You must be signed in to change notification settings - Fork 173
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
Sidecar injection on K8s "connection refused" backoff #214
Comments
Hi, This issue also exactly the same on https://learn.hashicorp.com/tutorials/vault/kubernetes-sidecar?in=vault/kubernetes I followed the steps and Step 7 of 11 I got the same error. kubectl logs orgchart-7654cd56f9-lsx5g --all-containers |
Hi @kenotsolutions, this is probably due to a bug that was fixed in hashicorp/vault-helm#446. We'll probably be releasing an updated chart in the next couple weeks. In the meantime, you can try setting VAULT_DEV_LISTEN_ADDRESS to "0.0.0.0:8200" to work around it. For instance, when installing the chart in the learn guide, use this command line: helm install vault hashicorp/vault --set "server.dev.enabled=true,server.extraEnvironmentVars.VAULT_DEV_LISTEN_ADDRESS=0.0.0.0:8200" |
Thanks for letting me know that. I will try your workaround. |
The bug fix hashicorp/vault-helm#446 was included in vault-helm 0.9.1, so closing this for now. |
Hi,
I just created a rancher test env to test sidecar vault-k8s but after patching the deployment's logs show somehow the created sidecar pod cannot reach the vault server which installed in the same namespace from helm. Please check the installation.
RKE
rke version v1.2.3
I followed two articles about it and two of them failed.
and
I can see the created the Kubernetes authentication, secret and policy on vault (RKE cluster). I created the serviceaccount and I can see the secrets etc.
kubens demo
kubectl get secrets
app-token-52cn6 kubernetes.io/service-account-token 3 10m
Expected behavior
As the articles show I should see the secret but I got the below error.
dial tcp 10.43.221.161:8200: connect: connection refused"
Environment:
vault status
):vault version
):Vault dev mode
K8s
deployment yaml file
before patch
Demo ns all the pods
patch file
after patch
I got the above error.
Thank You in Advance
The text was updated successfully, but these errors were encountered: