Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ValidateValidatingWebhookConfiguration (0.81 sec)

  1. pkg/apis/admissionregistration/validation/validation_test.go

    		},
    		}, true),
    		expectedError: `webhooks[0].matchConditions: Too many: 65: must have at most 64 items`,
    	}}
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			errs := ValidateValidatingWebhookConfiguration(test.config)
    			err := errs.ToAggregate()
    			if err != nil {
    				if e, a := test.expectedError, err.Error(); !strings.Contains(a, e) || e == "" {
    					t.Errorf("expected to contain:\n  %s\ngot:\n  %s", e, a)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
Back to top