@@ -50,9 +50,9 @@ func (r *CronJob) SetupWebhookWithManager(mgr ctrl.Manager) error {
50
50
51
51
/*
52
52
Notice that we use kubebuilder markers to generate webhook manifests.
53
- This markers is responsible for generating a mutating webhook manifest.
53
+ This marker is responsible for generating a mutating webhook manifest.
54
54
55
- The meaning of each marker can be found [here](../TODO .md).
55
+ The meaning of each marker can be found [here](/reference/markers/webhook .md).
56
56
*/
57
57
58
58
// +kubebuilder:webhook:path=/mutate-batch-tutorial-kubebuilder-io-v1-cronjob,mutating=true,failurePolicy=fail,groups=batch.tutorial.kubebuilder.io,resources=cronjobs,verbs=create;update,versions=v1,name=mcronjob.kb.io
@@ -87,10 +87,7 @@ func (r *CronJob) Default() {
87
87
}
88
88
89
89
/*
90
- Notice that we use kubebuilder markers to generate webhook manifests.
91
- This markers is responsible for generating a validating webhook manifest.
92
-
93
- The meaning of each marker can be found [here](../TODO.md).
90
+ This marker is responsible for generating a validating webhook manifest.
94
91
*/
95
92
96
93
// +kubebuilder:webhook:path=/validate-batch-tutorial-kubebuilder-io-v1-cronjob,mutating=false,failurePolicy=fail,groups=batch.tutorial.kubebuilder.io,resources=cronjobs,verbs=create;update,versions=v1,name=vcronjob.kb.io
@@ -156,7 +153,7 @@ You can find kubebuilder validation markers (prefixed
156
153
with `// +kubebuilder:validation`) in the [API](api-design.md)
157
154
You can find all of the kubebuilder supported markers for
158
155
declaring validation by running `controller-gen crd -w`,
159
- or [here](../TODO .md).
156
+ or [here](/reference/markers/crd-validation .md).
160
157
*/
161
158
162
159
func (r * CronJob ) validateCronJobSpec () * field.Error {
0 commit comments