Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for nilable (7.93 sec)

  1. cni/pkg/plugin/plugin.go

    		log.Infof("excluded due to being already injected with istio-init container")
    		return nil
    	}
    
    	if val, ok := pi.ProxyEnvironments["DISABLE_ENVOY"]; ok {
    		if val, err := strconv.ParseBool(val); err == nil && val {
    			log.Infof("excluded due to DISABLE_ENVOY on istio-proxy", podNamespace, podName)
    			return nil
    		}
    	}
    
    	if !pi.Containers.Contains(ISTIOPROXY) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. Makefile.core.mk

    # disable_pgv: disables protoc-gen-validation. This is not used buts adds many MB to Envoy protos
    # not set vtprotobuf: this adds some performance improvement, but at a binary cost increase that is not worth it for the agent
    AGENT_TAGS=agent,disable_pgv
    # disable_pgv: disables protoc-gen-validation. This is not used buts adds many MB to Envoy protos
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:15 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin_test.go

    	pod, ns := buildFakePodAndNSForClient()
    	pod.ObjectMeta.Annotations[sidecarStatusKey] = "true"
    	pod.Spec.Containers = append(pod.Spec.Containers, corev1.Container{
    		Name: "istio-init",
    		Env:  []corev1.EnvVar{{Name: "DISABLE_ENVOY", Value: "true"}},
    	})
    
    	mockIntercept := testDoAddRun(t, buildMockConf(true, ""), testNSName, pod, ns)
    
    	if len(mockIntercept.lastRedirect) != 0 {
    		t.Fatalf("failed to exclude pod")
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top