morvencao / kube-sidecar-injector

A Kubernetes mutating webhook server that implements sidecar injection
Apache License 2.0
628 stars 454 forks source link

Problem: a sample yaml for sidecar-configmap #27

Open Davidrjx opened 3 years ago

Davidrjx commented 3 years ago

in new namespace called injection, injected container needs nginx-configmap but it does not current namespace.

rashid4lyf commented 3 years ago

I can also confirm this, is there a solution or workaround possibly to get the config map into the required namespace?

morvencao commented 2 years ago

This is just an example, in real environment, the sidecar configuration can be injected inline with the sidecar.