Istio, don't add serviceaccountdisk in e2e tests
With pod.Spec.automountServiceAccountToken and pod.Spec.serviceAccountName
set automatically when sidecar.istio.io/inject annotation is added, it's
not required to add the serviceaccountdisk anymore.
sidecar.
@@ -332,8 +332,6 @@ func newVMIWithIstioSidecar(ports []v1.Port) *v1.VirtualMachineInstance {
libvmi.WithLabel("app", vmiAppSelector),
libvmi.WithAnnotation(consts.ISTIO_INJECT_ANNOTATION, "true"),
)
- // Istio-proxy requires service account token to be mounted
- tests.AddServiceAccountDisk(vmi, "default")
return vmi
}
