Skip to content

Commit c38be05

Browse files
authored
Merge pull request #2513 from ashish-billore/patch-1
📖 Fix incomplete instruction for validating webhook
2 parents f53828d + 0a45a5c commit c38be05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/book/src/cronjob-tutorial/testdata/project/api/v1/cronjob_webhook.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ This marker is responsible for generating a validating webhook manifest.
9292
//+kubebuilder:webhook:verbs=create;update;delete,path=/validate-batch-tutorial-kubebuilder-io-v1-cronjob,mutating=false,failurePolicy=fail,groups=batch.tutorial.kubebuilder.io,resources=cronjobs,versions=v1,name=vcronjob.kb.io,sideEffects=None,admissionReviewVersions=v1
9393

9494
/*
95-
To validate our CRD beyond what's possible with declarative validation.
95+
Now let's see how to validate our CRD beyond what's possible with declarative
96+
validation.
9697
Generally, declarative validation should be sufficient, but sometimes more
9798
advanced use cases call for complex validation.
9899

0 commit comments

Comments
 (0)