diff --git a/images/webhooks/src/handlers/nscValidator.go b/images/webhooks/src/handlers/nscValidator.go index dbcb208a..85cdbc26 100644 --- a/images/webhooks/src/handlers/nscValidator.go +++ b/images/webhooks/src/handlers/nscValidator.go @@ -76,7 +76,7 @@ func NSCValidate(ctx context.Context, arReview *model.AdmissionReview, obj metav "settings": map[string]interface{}{ "v3support": true, }, - "version": "1", + "version": 1, }, }) if err != nil { @@ -94,7 +94,7 @@ func NSCValidate(ctx context.Context, arReview *model.AdmissionReview, obj metav "settings": map[string]interface{}{ "v3support": false, }, - "version": "1", + "version": 1, }, }) if err != nil {