Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AnnotationValidation (0.17 sec)

  1. pkg/kube/inject/validate.go

    	"istio.io/istio/pkg/config/validation/agent"
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    type annotationValidationFunc func(value string) error
    
    // per-sidecar policy and status
    var (
    	AnnotationValidation = map[string]annotationValidationFunc{
    		annotation.SidecarInterceptionMode.Name:                   validateInterceptionMode,
    		annotation.SidecarEnableCoreDump.Name:                     validateBool,
    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. pkg/kube/inject/inject.go

    		if useDefault {
    			required = true
    		} else {
    			required = inject
    		}
    	}
    
    	if log.DebugEnabled() {
    		// Build a log message for the annotations.
    		annotationStr := ""
    		for name := range AnnotationValidation {
    			value, ok := annos[name]
    			if !ok {
    				value = "(unset)"
    			}
    			annotationStr += fmt.Sprintf("%s:%s ", name, value)
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 28.8K bytes
    - Viewed (0)
Back to top