- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for DefaultMeshConfig (0.45 sec)
-
pkg/config/mesh/mesh_test.go
"istio.io/istio/pkg/config/validation/agent" "istio.io/istio/pkg/test/util/assert" "istio.io/istio/pkg/util/protomarshal" ) func TestApplyProxyConfig(t *testing.T) { config := mesh.DefaultMeshConfig() defaultDiscovery := config.DefaultConfig.DiscoveryAddress t.Run("apply single", func(t *testing.T) { mc, err := mesh.ApplyProxyConfig("discoveryAddress: foo", config) if err != nil { t.Fatal(err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 11.7K bytes - Viewed (0) -
pkg/config/mesh/mesh.go
// By default, it is empty. func DefaultMeshNetworks() *meshconfig.MeshNetworks { return ptr.Of(EmptyMeshNetworks()) } // DefaultMeshConfig returns the default mesh config. // This is merged with values from the mesh config map. func DefaultMeshConfig() *meshconfig.MeshConfig { proxyConfig := DefaultProxyConfig() // Defaults matching the standard install // order matches the generated mesh config.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 12K bytes - Viewed (0) -
pilot/pkg/config/kube/ingress/conversion_test.go
} ordered := []config.Config{} for _, v := range cfgs { ordered = append(ordered, *v) } for _, obj := range input { ingress := obj.(*knetworking.Ingress) m := mesh.DefaultMeshConfig() gws := ConvertIngressV1alpha3(*ingress, m, "mydomain") ordered = append(ordered, gws) } sort.Slice(ordered, func(i, j int) bool { return ordered[i].Name < ordered[j].Name })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 19 18:20:34 UTC 2023 - 14.9K bytes - Viewed (0) -
pilot/pkg/xds/lds_test.go
s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{ ConfigString: mustReadfolder(t, "tests/testdata/networking/sidecar-ns-scope"), MeshConfig: func() *meshconfig.MeshConfig { m := mesh.DefaultMeshConfig() m.RootNamespace = "istio-config" return m }(), }) adsc := s.Connect(&model.Proxy{ConfigNamespace: "ns1", IPAddresses: []string{"100.1.1.2"}}, nil, watchAll)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 12 18:20:36 UTC 2024 - 13.1K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/deploymentcontroller_test.go
ImageType: "distroless", }, }, }); err != nil { t.Fatalf("failed to create ProxyConfigs: %s", err) } proxyConfig := model.GetProxyConfigs(store, mesh.DefaultMeshConfig()) tests := []struct { name string gw k8sbeta.Gateway objects []runtime.Object pcs *model.ProxyConfigs
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 21:43:20 UTC 2024 - 16.5K bytes - Viewed (0) -
pilot/pkg/networking/core/accesslog_test.go
wantFormat: model.EnvoyTextLogFormat, }, } { tc := tc t.Run(tc.name, func(t *testing.T) { accessLogBuilder.reset() // Update MeshConfig m := mesh.DefaultMeshConfig() m.AccessLogFile = "foo" m.AccessLogEncoding = tc.encoding m.AccessLogFormat = tc.format listeners := buildListeners(t, TestOptions{MeshConfig: m}, nil) if len(listeners) != 2 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:30 UTC 2024 - 19.9K bytes - Viewed (0) -
pilot/pkg/networking/core/networkfilter_test.go
}, } services := []*model.Service{ buildService("test.com", "10.10.0.0/24", protocol.TCP, tnow), } for _, tt := range cases { t.Run(tt.name, func(t *testing.T) { m := mesh.DefaultMeshConfig() m.InboundClusterStatName = tt.statPattern cg := NewConfigGenTest(t, TestOptions{ Services: services, MeshConfig: m, }) fcc := inboundChainConfig{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 25.8K bytes - Viewed (0) -
pilot/pkg/networking/core/fake.go
} controllers = append(controllers, opts.ConfigStoreCaches...) configController, _ := configaggregate.MakeWriteableCache(controllers, cc) m := opts.MeshConfig if m == nil { m = mesh.DefaultMeshConfig() } env := model.NewEnvironment() env.Watcher = mesh.NewFixedWatcher(m) xdsUpdater := opts.XDSUpdater if xdsUpdater == nil { xdsUpdater = model.NewEndpointIndexUpdater(env.EndpointIndex)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 11.5K bytes - Viewed (0) -
pilot/pkg/xds/xds_test.go
want := tt.wantClusterLocal if !local { name = "non-cluster-local" want = tt.wantNonClusterLocal } t.Run(name, func(t *testing.T) { meshConfig := mesh.DefaultMeshConfig() meshConfig.ServiceSettings = []*v1alpha1.MeshConfig_ServiceSettings{ {Hosts: []string{"*"}, Settings: &v1alpha1.MeshConfig_ServiceSettings_Settings{ ClusterLocal: local, }}, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 16:59:05 UTC 2024 - 13.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go
func GetMeshConfig(mc *krttest.MockCollection) krt.StaticSingleton[MeshConfig] { attempt := krttest.GetMockSingleton[MeshConfig](mc) if attempt.Get() == nil { return krt.NewStatic(&MeshConfig{mesh.DefaultMeshConfig()}) } return attempt
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 16:51:29 UTC 2024 - 20.3K bytes - Viewed (0)