Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for generateMutatingWebhook (0.14 sec)

  1. istioctl/pkg/tag/generate.go

    			if strings.Contains(label, operatorNamespace) {
    				delete(whLabels, label)
    			}
    		}
    	}
    	return whLabels
    }
    
    // generateMutatingWebhook renders a mutating webhook configuration from the given tagWebhookConfig.
    func generateMutatingWebhook(config *tagWebhookConfig, opts *GenerateOptions) (string, error) {
    	flags := []string{
    		"installPackagePath=" + opts.ManifestsPath,
    		"profile=empty",
    Registered: Wed Oct 30 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, tc.tagName, "istio-system")
    		if err != nil {
    			t.Fatalf("webhook parsing failed with error: %v", err)
    		}
    		webhookYAML, err := generateMutatingWebhook(webhookConfig, &GenerateOptions{
    			WebhookName:          "",
    			ManifestsPath:        filepath.Join(env.IstioSrc, "manifests"),
    			AutoInjectNamespaces: false,
    			CustomLabels:         nil,
    		})
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top