martasd
martasd

Reputation: 125

Istio manual sidecar injection gives an error

I am trying to manually inject istio sidecar into an existing deployment according to the instructions here:

https://istio.io/docs/setup/kubernetes/additional-setup/sidecar-injection

I am getting the following error, however:

$ istioctl kube-inject -f k8s/prod/deployment.yaml
Error: missing configuration map key "values" in "istio-sidecar-injector"

This error occurs to me even why I try different kinds with different yaml files. Is this a bug or am I doing something wrong? How can I add "values" to the configuration map?

Upvotes: 1

Views: 804

Answers (1)

Joel
Joel

Reputation: 2404

Check the version of your istioctl binary (istioctl version) versus istio installed on your cluster: if they differ, you may get such error message (or similar).

Upvotes: 1

Related Questions