Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for buildFakeDryRunPod (0.09 sec)

  1. cni/pkg/plugin/plugin_dryrun_test.go

    			if _, err := os.Create(outputFilePath); err != nil {
    				t.Fatalf("Failed to create temp file for IPTables rule output: %v", err)
    			}
    			t.Setenv(dependencies.DryRunFilePath.Name, outputFilePath)
    
    			pod := buildFakeDryRunPod()
    			pod.ObjectMeta.Annotations = tt.annotations
    			pod.Spec.Containers[1].Env = tt.proxyEnv
    
    			pod.Spec.Containers[1].SecurityContext = &corev1.SecurityContext{}
    
    			if tt.customGID != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Aug 27 16:44:45 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top