Skip to content

Commit 9e91356

Browse files
author
Per G. da Silva
committed
Add CheckConversionWebhookSupport to validator
Signed-off-by: Per G. da Silva <[email protected]>
1 parent 1399b50 commit 9e91356

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

internal/operator-controller/rukpak/render/registryv1/registryv1.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ var BundleValidator = render.BundleValidator{
2222
validators.CheckCRDResourceUniqueness,
2323
validators.CheckOwnedCRDExistence,
2424
validators.CheckPackageNameNotEmpty,
25+
validators.CheckConversionWebhookSupport,
2526
validators.CheckWebhookDeploymentReferentialIntegrity,
2627
validators.CheckWebhookNameUniqueness,
2728
validators.CheckWebhookNameIsDNS1123SubDomain,

internal/operator-controller/rukpak/render/registryv1/registryv1_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ func Test_BundleValidatorHasAllValidationFns(t *testing.T) {
2626
validators.CheckCRDResourceUniqueness,
2727
validators.CheckOwnedCRDExistence,
2828
validators.CheckPackageNameNotEmpty,
29+
validators.CheckConversionWebhookSupport,
2930
validators.CheckWebhookDeploymentReferentialIntegrity,
3031
validators.CheckWebhookNameUniqueness,
3132
validators.CheckWebhookNameIsDNS1123SubDomain,

0 commit comments

Comments
 (0)