Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for whs (0.01 sec)

  1. istioctl/pkg/checkinject/checkinject_test.go

    		"testdata/check-inject/never-match-injector.yaml",
    	}
    	var whs []admitv1.MutatingWebhookConfiguration
    	for _, whName := range whFiles {
    		file, err := os.ReadFile(whName)
    		if err != nil {
    			t.Fatal(err)
    		}
    		var wh *admitv1.MutatingWebhookConfiguration
    		if err := yaml.Unmarshal(file, &wh); err != nil {
    			t.Fatal(err)
    		}
    		whs = append(whs, *wh)
    	}
    	for _, c := range cases {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/generate.go

    	}
    	if len(revWebhooks) > 1 {
    		return "", fmt.Errorf("cannot modify tag: found multiple canonical webhooks with revision %q", opts.Revision)
    	}
    
    	whs, err := GetWebhooksWithTag(ctx, client.Kube(), opts.Tag)
    	if err != nil {
    		return "", err
    	}
    	if len(whs) > 0 && !opts.Overwrite {
    		return "", fmt.Errorf("revision tag %q already exists, and --overwrite is false", opts.Tag)
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top