Add enableServiceLinks:false to webhook yaml
Kubernets adds additional env vars for each service with name
*_SERVICE_PORT, *_SERVICE_HOST and *_PORT, this causes trouble
in the webhook as it is using WEBHOOK_PORT to configure the
webhook port. Disabling it will enable using a default port.
@@ -40,7 +40,7 @@ spec:
weight: 100
serviceAccountName: eventing-webhook
-
+ enableServiceLinks: false
containers:
- name: eventing-webhook
terminationMessagePolicy: FallbackToLogsOnError
