Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GetTlsCertificateSdsSecretConfigs (0.29 sec)

  1. pilot/test/xdstest/extract.go

    		resourceNames.Insert(tl.GetCommonTlsContext().GetCombinedValidationContext().GetValidationContextSdsSecretConfig().GetName())
    		for _, s := range tl.GetCommonTlsContext().GetTlsCertificateSdsSecretConfigs() {
    			resourceNames.Insert(s.GetName())
    		}
    	}
    	return resourceNames.UnsortedList()
    }
    
    func ExtractListenerSecretResources(t test.Failer, l *listener.Listener) []string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_traffic_policy_test.go

    					t.Fatalf("expected root name %v got %v", rootName, got)
    				}
    				if got := ctx.CommonTlsContext.GetTlsCertificateSdsSecretConfigs()[0].GetName(); certName != got {
    					t.Fatalf("expected cert name %v got %v", certName, 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)
  3. 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
    	}
    	if !t.RequireClientCertificate.Value {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_tls_test.go

    					t.Fatalf("expected root name %v got %v", rootName, got)
    				}
    				if got := ctx.CommonTlsContext.GetTlsCertificateSdsSecretConfigs()[0].GetName(); certName != got {
    					t.Fatalf("expected cert name %v got %v", certName, 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)
  5. pilot/pkg/networking/core/cluster_test.go

    		g.Expect(rootSdsConfig.GetName()).To(Equal("file-root:/clientRootCertFromNodeMetadata.pem"))
    
    		certSdsConfig := tlsContext.CommonTlsContext.GetTlsCertificateSdsSecretConfigs()
    		g.Expect(certSdsConfig).To(HaveLen(1))
    		g.Expect(certSdsConfig[0].GetName()).To(Equal("file-cert:/clientCertFromNodeMetadata.pem~/clientKeyFromNodeMetadata.pem"))
    	}
    }
    
    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