Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestApplyKubeletConfigPatches (0.29 sec)

  1. cmd/kubeadm/app/phases/kubelet/config_test.go

    		return true, nil, nil
    	})
    
    	if err := createConfigMapRBACRules(client); err != nil {
    		t.Errorf("createConfigMapRBACRules: unexpected error %v", err)
    	}
    }
    
    func TestApplyKubeletConfigPatches(t *testing.T) {
    	var (
    		input          = []byte("bar: 0\nfoo: 0\n")
    		patch          = []byte("bar: 1\n")
    		expectedOutput = []byte("bar: 1\nfoo: 0\n")
    	)
    
    	dir, err := os.MkdirTemp("", "patches")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 02 12:34:30 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top