Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for generateValidatingWebhook (0.23 sec)

  1. istioctl/pkg/tag/generate.go

    		return fmt.Errorf("failed to apply tag manifests to cluster: %v", err)
    	}
    	return nil
    }
    
    // generateValidatingWebhook renders a validating webhook configuration from the given tagWebhookConfig.
    func generateValidatingWebhook(config *tagWebhookConfig, opts *GenerateOptions) (string, error) {
    	vals := values.Map{
    		"spec": values.Map{
    			"installPackagePath": opts.ManifestsPath,
    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

    			}
    			opts := &GenerateOptions{
    				ManifestsPath: filepath.Join(env.IstioSrc, "manifests"),
    			}
    			if tc.userManaged {
    				opts.UserManaged = true
    			}
    			webhookYAML, err := generateValidatingWebhook(webhookConfig, opts)
    			if err != nil {
    				t.Fatalf("tag webhook YAML generation failed with error: %v", err)
    			}
    
    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