Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCmdAddExcludePodWithIstioInitContainer (0.23 sec)

  1. cni/pkg/plugin/plugin_test.go

    	mockIntercept := testDoAddRun(t, buildMockConf(true), "testExcludeNS", pod, ns)
    	if len(mockIntercept.lastRedirect) != 0 {
    		t.Fatal("failed to exclude pod")
    	}
    }
    
    func TestCmdAddExcludePodWithIstioInitContainer(t *testing.T) {
    	pod, ns := buildFakePodAndNSForClient()
    	pod.ObjectMeta.Annotations[sidecarStatusKey] = "true"
    	pod.Spec.Containers = append(pod.Spec.Containers, corev1.Container{Name: "istio-init"})
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top