User EnvoyFilter targeting Istio Ingress Gateway should result in Istio CR in Warning state #1168
Labels
area/service-mesh
Issues or PRs related to service-mesh
kind/feature
Categorizes issue or PR as related to a new feature.
Description
Extend Istio CR reconciliation to check if user created Istio EnvoyFilter configuring Istio Ingress Gateway is present on a cluster. Such Istio EnvoyFilter can significantly alter or even break Istio Ingress Gateway. User should be notified that he applied potentially dangerous configuration. When such Istio EnvoyFilter is detected during a reconciliation Istio CR status should be set to Warning state. Additionally new specific condition should be introduced to simplify troubleshooting. Description message should clearly state EF name, namespace and fact targeting Istio Ingress Gateway.
Misconfigured EF is rejected by Istio Ingress Gateway although error occurs when Istio Ingress Gateway is restarted. Reasons for restarting Istio Ingress Gateway are related to configuration changes as well as Istio upgrades. When this happens Istio CR should be in error state.
Reasons
Making user more aware of potential harmful global configuration.
ToDos [Developer]
PRs
ACs [PO]
DoD [Developer & Reviewer]
The text was updated successfully, but these errors were encountered: