Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Test_injectionDisabled (0.48 sec)

  1. istioctl/pkg/injector/injector-list_test.go

    	actual, err := getNamespaces(context.TODO(), client, "istio-system")
    	assert.NoError(t, err)
    	for _, ns := range actual {
    		assert.Equal(t, true, expected.Contains(ns.Name))
    	}
    }
    
    func Test_injectionDisabled(t *testing.T) {
    	cases := []struct {
    		name     string
    		pod      *corev1.Pod
    		expected bool
    	}{
    		{
    			name: "Injection disabled by annotation",
    			pod: &corev1.Pod{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top