Fix e2e_client_server_connectivity_test noInstall
Currently, e2e_client_server_connectivity_test only
changes the value of LocalProxyMode for fresh
OSM installs, causing the test to fail for the podIP
bind for NoInstall. To change the value of
LocalProxyMode for NoInstall, it must be changed
explicitly in setMeshConfigToDefault.
@@ -442,6 +442,7 @@ func setMeshConfigToDefault(instOpts InstallOSMOpts, meshConfig *configv1alpha2.
meshConfig.Spec.Sidecar.LogLevel = instOpts.EnvoyLogLevel
meshConfig.Spec.Sidecar.MaxDataPlaneConnections = 0
meshConfig.Spec.Sidecar.ConfigResyncInterval = "0s"
+ meshConfig.Spec.Sidecar.LocalProxyMode = instOpts.LocalProxyMode
meshConfig.Spec.Certificate.ServiceCertValidityDuration = instOpts.CertValidtyDuration.String()
meshConfig.Spec.Certificate.CertKeyBitSize = instOpts.CertKeyBitSize
