kubernetes-sidecar-injector
kubernetes-sidecar-injector copied to clipboard
mandatory (not optional) sidecars
Hi, This is a cool tool!
Is there a way to make it fail to start the pod if the configmap doesn't exist? Right now the service logs an error but the pod continues to start.
Maybe something like an annotation:
sidecar-injector.expedia.com/failAction: block
Thanks for the suggestion. I am trying to think of the best way to achieved this. The pod would basically not even show up should it fail the admission, maybe this is acceptable, I'll take a look.
I am going to close this out due to time.