Following the blog here:
I setup RKE2 to enable the new SidecarContainers Feature Gate. It then set in the K8s operator for Istio
values:
pilot:
env:
ENABLE_NATIVE_SIDECARS: true
That all worked great and Istio restarted ,but then when I went to run a workload I get the error:
istoi is invalid: [spec.initContainers[1].lifecycle: Forbidden: may not be set for init containers without restartPolicy=Always, spec.initContainers[1].startupProbe: Forbidden: may not be set for init containers without restartPolicy=Always]
I am not sure if there is another part of the configuration required to use the CNI?