- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetCommonTlsContext (0.17 sec)
-
pilot/pkg/simulation/traffic.go
sim.t.Fatal(err) } if len(t.GetCommonTlsContext().GetTlsCertificateSdsSecretConfigs()) == 0 { return false } // This is a lazy heuristic, we could check for explicit default resource or spiffe if it becomes necessary if t.GetCommonTlsContext().GetTlsCertificateSdsSecretConfigs()[0].Name != mTLSSecretConfigName { return false }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 19.4K bytes - Viewed (0) -
pilot/pkg/xds/cds_test.go
tl := xdstest.UnmarshalAny[tls.UpstreamTlsContext](t, cluster.GetTransportSocket().GetTypedConfig()) names := sets.New[string]() // nolint: staticcheck for _, n := range tl.GetCommonTlsContext().GetCombinedValidationContext().GetDefaultValidationContext().GetMatchSubjectAltNames() { names.Insert(n.GetExact()) } assert.Equal(t, sets.SortedList(names), sets.SortedList(sets.New(sans...))) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 01 02:06:39 UTC 2024 - 9.2K bytes - Viewed (0)