You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`+kubebuilder:scaffold:imports`|`main.go`| Marks where imports for new controllers, webhooks, or APIs should be injected. |
101
+
|`+kubebuilder:scaffold:scheme`|`init()` in `main.go`| Used to add API versions to the scheme for runtime. |
102
+
|`+kubebuilder:scaffold:builder`|`main.go`| Marks where new controllers should be registered with the manager. |
103
+
|`+kubebuilder:scaffold:webhook`|`webhooks suite tests` files | Marks where webhook setup functions are added. |
104
+
|`+kubebuilder:scaffold:crdkustomizeresource`|`config/crd`| Marks where CRD custom resource patches are added. |
105
+
|`+kubebuilder:scaffold:crdkustomizewebhookpatch`|`config/crd`| Marks where CRD webhook patches are added. |
106
+
|`+kubebuilder:scaffold:crdkustomizecainjectionns`|`config/default`| Marks where CA injection patches are added for the conversion webhooks. |
107
+
|`+kubebuilder:scaffold:crdkustomizecainjectioname`|`config/default`| Marks where CA injection patches are added for the conversion webhooks. |
108
108
|**(No longer supported)**`+kubebuilder:scaffold:crdkustomizecainjectionpatch`|`config/crd`| Marks where CA injection patches are added for the webhooks. Replaced by `+kubebuilder:scaffold:crdkustomizecainjectionns` and `+kubebuilder:scaffold:crdkustomizecainjectioname`|
109
-
|`+kubebuilder:scaffold:manifestskustomizesamples`|`config/samples`| Marks where Kustomize sample manifests are injected. |
110
-
|`+kubebuilder:scaffold:e2e-webhooks-checks`|`test/e2e`| Adds e2e checks for webhooks depending on the types of webhooks scaffolded. |
111
-
109
+
|`+kubebuilder:scaffold:manifestskustomizesamples`|`config/samples`| Marks where Kustomize sample manifests are injected. |
110
+
|`+kubebuilder:scaffold:e2e-webhooks-checks`|`test/e2e`| Adds e2e checks for webhooks depending on the types of webhooks scaffolded. |
111
+
|`+kubebuilder:scaffold:e2e-metrics-webhooks-readiness`|`test/e2e`| Adds readiness logic so metrics e2e tests wait for webhook service endpoints before creating pods. |
0 commit comments