Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MeshConfigToEnvoyForwardClientCertDetails (0.58 sec)

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

    	}
    	xffNumTrustedHops := uint32(0)
    
    	// Gateways do not use ProxyHeaders for XFCC as there is an existing field in gateway topology that is used instead.
    	forwardClientCertDetails := util.MeshConfigToEnvoyForwardClientCertDetails(meshconfig.ForwardClientCertDetails_SANITIZE_SET)
    	if proxyConfig != nil && proxyConfig.GatewayTopology != nil {
    		xffNumTrustedHops = proxyConfig.GatewayTopology.NumTrustedProxies
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  2. pilot/pkg/networking/util/util.go

    	}
    
    	return ipp.Masked(), err
    }
    
    // meshconfig ForwardClientCertDetails and the Envoy config enum are off by 1
    // due to the UNDEFINED in the meshconfig ForwardClientCertDetails
    func MeshConfigToEnvoyForwardClientCertDetails(c meshconfig.ForwardClientCertDetails) hcm.HttpConnectionManager_ForwardClientCertDetails {
    	return hcm.HttpConnectionManager_ForwardClientCertDetails(c - 1)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/httproute.go

    	if ph.AttemptCount.GetDisabled().GetValue() {
    		base.IncludeRequestAttemptCount = false
    	}
    	if ph.ForwardedClientCert != meshconfig.ForwardClientCertDetails_UNDEFINED {
    		base.ForwardedClientCert = util.MeshConfigToEnvoyForwardClientCertDetails(ph.ForwardedClientCert)
    	}
    	if ph.Server != nil {
    		if ph.Server.Disabled.GetValue() {
    			base.ServerName = ""
    			base.ServerHeaderTransformation = hcm.HttpConnectionManager_PASS_THROUGH
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top