Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetTlsCertificateSdsSecretConfigs (0.28 sec)

  1. 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)
  2. 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