-
Notifications
You must be signed in to change notification settings - Fork 323
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
Injecting proxy by default not working #20
Comments
+1 on MiniKube, automatic injection fails with this error. |
+1 see this on EKS as well |
+1 See this on GKE as well. |
See this on AKS as well. |
For as widespread as this appears to be, I'm having a heck of a time reproducing it. Could folks please provide the versions of: Kubernetes, the Helm chart, Consul and consul-k8s where they see this? That will help give me a better place to start. Thanks! |
Turns out we were not correctly creating the |
I've confirmed this behavior on both AKS and minikube.
If I install using the master branch of the Helm chart (which uses consul-k8s v0.2.0), having configured values to enable injection by default (i.e. without requiring annotations) like so:
Auto-injection fails and pods never even get created. Inspecting the deployment, I find this message as the last status condition:
If I add the following annotation, everything works exactly as expected, but I was hoping to avoid this since I'd probably prefer that use of Consul Connect be enforced by policy rather than by developer choice.
The text was updated successfully, but these errors were encountered: