Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetValidationContextSdsSecretConfig (0.34 sec)

  1. pilot/pkg/networking/core/cluster_traffic_policy_test.go

    			validateTLSContext: func(t *testing.T, ctx *tls.UpstreamTlsContext) {
    				rootName := "file-root:" + mutualTLSSettingsWithCerts.CaCertificates
    				if got := ctx.CommonTlsContext.GetCombinedValidationContext().GetValidationContextSdsSecretConfig().GetName(); rootName != got {
    					t.Fatalf("expected root name %v got %v", rootName, got)
    				}
    				if got := ctx.CommonTlsContext.GetAlpnProtocols(); got != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. pilot/test/xdstest/extract.go

    			continue
    		}
    		tl := UnmarshalAny[tls.UpstreamTlsContext](t, s.GetTypedConfig())
    		resourceNames.Insert(tl.GetCommonTlsContext().GetCombinedValidationContext().GetValidationContextSdsSecretConfig().GetName())
    		for _, s := range tl.GetCommonTlsContext().GetTlsCertificateSdsSecretConfigs() {
    			resourceNames.Insert(s.GetName())
    		}
    	}
    	return resourceNames.UnsortedList()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_tls_test.go

    			validateTLSContext: func(t *testing.T, ctx *tls.UpstreamTlsContext) {
    				rootName := "file-root:" + mutualTLSSettingsWithCerts.CaCertificates
    				if got := ctx.CommonTlsContext.GetCombinedValidationContext().GetValidationContextSdsSecretConfig().GetName(); rootName != got {
    					t.Fatalf("expected root name %v got %v", rootName, got)
    				}
    				if got := ctx.CommonTlsContext.GetAlpnProtocols(); got != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_test.go

    		c := xdstest.ExtractCluster(e, clusters)
    		tlsContext := getTLSContext(t, c)
    		g.Expect(tlsContext).NotTo(BeNil())
    
    		rootSdsConfig := tlsContext.CommonTlsContext.GetCombinedValidationContext().GetValidationContextSdsSecretConfig()
    		g.Expect(rootSdsConfig.GetName()).To(Equal("file-root:/clientRootCertFromNodeMetadata.pem"))
    
    		certSdsConfig := tlsContext.CommonTlsContext.GetTlsCertificateSdsSecretConfigs()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
Back to top