When I see istiod logs, it shows that invalid configs are allowed as validation webhook is set to ignore.
Istiod logs:
2021-01-13T07:26:40.423009Z info validationController Reconcile(enter): retry dry-run creation of invalid config
2021-01-13T07:26:40.429378Z info validationController Not ready to switch validation to fail-closed: dummy invalid config not rejected
2021-01-13T07:26:40.430251Z info validationController validatingwebhookconfiguration istiod-istio-system (failurePolicy=Ignore, resourceVersion=2488575) is up-to-date. No change required.
I tried to follow the steps mentioned here: Istio / Configuration Validation Problems, but I don’t see istio-validation configmap in istio-system namespace and I can’t find global.configValidation option in the docs.
What am i missing?
i had the same issue. It relates to the use of the revision. The WebHook config is configured to check against the istiod service in your istio namespace.
In the service section of the hook you will find the service name pointing to the default istiod service without the revision. If you add your revision to the service name it will work again.
There is a better solution than modifying the ValidatingWebhookConfiguration object.
IstioOperators allows modifying anything in the generated manifest through overlays.
This snippet would solve your problem until a fix is released.