istio: istioctl installation can't set externalTrafficPolicy

Bug description

istioctl can’t set Ingress Gateway’s externalTrafficPolicy

[ ] Configuration Infrastructure [ ] Docs [x ] Installation [ ] Networking [ ] Performance and Scalability [ ] Policies and Telemetry [ ] Security [ ] Test and Release [ ] User Experience [ ] Developer Infrastructure

Steps to reproduce the bug

Failed to generate and apply manifests, error: failed to generate manifest: input file failed validation with the following errors: unknown field “externalTrafficPolicy” in v1alpha1.IngressGatewayConfig

Setting spec.values.gateways.istio-ingressgateway of IstioControlPlane to externalTrafficPolicy: Local creates the following error:

Failed to generate and apply manifests, error: failed to generate manifest: input file failed validation with the following errors: unknown field "externalTrafficPolicy" in v1alpha1.IngressGatewayConfig

Setting spec.gateways.components.ingressGateway.k8s.service.externalTrafficPolicy passes the validation but does not create an effect on generated manifest.

Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)

Istio 1.4.2

How was Istio installed?

istioctl

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (12 by maintainers)

Most upvoted comments

unvalidatedValues.gateways.istio-ingressgateway.externalTrafficPolicy made the trick @richardwxn