Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Lbl (0.02 sec)

  1. cni/pkg/plugin/plugin.go

    		return nil
    	}
    
    	val := pi.Annotations[injectAnnotationKey]
    	if lbl, labelPresent := pi.Labels[label.SidecarInject.Name]; labelPresent {
    		// The label is the new API; if both are present we prefer the label
    		val = lbl
    	}
    	if val != "" {
    		log.Debugf("contains inject annotation: %s", val)
    		if injectEnabled, err := strconv.ParseBool(val); err == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top