Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ValidateMeshConfigProxyConfig (0.23 sec)

  1. pkg/kube/inject/validate.go

    	config := mesh.DefaultProxyConfig()
    	if err := protomarshal.ApplyYAML(value, config); err != nil {
    		return fmt.Errorf("failed to convert to apply proxy config: %v", err)
    	}
    	return agent.ValidateMeshConfigProxyConfig(config)
    }
    
    func validateAnnotations(annotations map[string]string) (err error) {
    	for name, value := range annotations {
    		if v, ok := AnnotationValidation[name]; ok {
    			if e := v(value); e != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/config/config.go

    		if err != nil {
    			log.Warnf("resolve StatsdUdpAddress failed: %v", err)
    			proxyConfig.StatsdUdpAddress = ""
    		} else {
    			proxyConfig.StatsdUdpAddress = addr
    		}
    	}
    	if err := agent.ValidateMeshConfigProxyConfig(proxyConfig); err != nil {
    		return nil, err
    	}
    	return applyAnnotations(proxyConfig, annotations), nil
    }
    
    // getMeshConfig gets the mesh config to use for proxy configuration
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top