crossplane / addon-oam-kubernetes-local

Run OAM workloads on a Kubernetes cluster.
Apache License 2.0
21 stars 15 forks source link

Fix helm deployment when useWebhook is turned off #53

Open arturo-c opened 4 years ago

arturo-c commented 4 years ago

The error this fixes is when the pod is trying to mount the webhook tls cert:

Events:
  Type     Reason       Age                From                                  Message
  ----     ------       ----               ----                                  -------
  Normal   Scheduled    53s                default-scheduler                     Successfully assigned crossplane-system/oam-core-resources-controller-5bbf7c6d9c-sbk77 to ip-10-20-74-34.ec2.internal
  Warning  FailedMount  21s (x7 over 52s)  kubelet, ip-10-20-74-34.ec2.internal  MountVolume.SetUp failed for volume "tls-cert" : secrets "webhook-server-cert" not found