morvencao / kube-sidecar-injector

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

fix permission issue. #12

Closed morvencao closed 4 years ago

morvencao commented 4 years ago

Fix permission issue while starting webhook server:

# kubectl logs -f sidecar-injector-webhook-deployment-8f48757-wkkgt
I0404 10:08:00.537944       1 webhook.go:88] New configuration: sha256sum 21669464280f76170b88241fd79ecbca3dcebaec5c152a4a9a3e921ff742157f
E0404 10:08:00.549435       1 main.go:52] Failed to listen and serve webhook server: listen tcp :443: bind: permission denied