Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fixWhConfig (0.05 sec)

  1. istioctl/pkg/tag/generate.go

    		// to ease complexity when pointing default to revision without per-revision validating webhook,
    		// instead grab the endpoint information from the mutating webhook. This is not strictly correct.
    		validationWhConfig, err := fixWhConfig(client, tagWhConfig)
    		if err != nil {
    			return "", fmt.Errorf("failed to create validating webhook config: %w", err)
    		}
    
    		vwhYAML, err := generateValidatingWebhook(validationWhConfig, opts)
    		if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/generate_test.go

    			webhookConfig, err := tagWebhookConfigFromCanonicalWebhook(tc.webhook, "default", tc.istioNamespace)
    			if err != nil {
    				t.Fatalf("webhook parsing failed with error: %v", err)
    			}
    			webhookConfig, err = fixWhConfig(fakeClient, webhookConfig)
    			if err != nil {
    				t.Fatalf("webhook fixing failed with error: %v", err)
    			}
    			opts := &GenerateOptions{
    				ManifestsPath: filepath.Join(env.IstioSrc, "manifests"),
    			}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top