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
Copy file name to clipboardExpand all lines: docs/book/src/cronjob-tutorial/running.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,9 @@ manifests using controller-tools, if needed:
16
16
make install
17
17
```
18
18
19
-
<asideclass="note">
19
+
<asideclass="note"role="note">
20
20
21
-
<h1>Too long annotations error</h1>
21
+
<pclass="note-title">Too long annotations error</p>
22
22
23
23
If you encounter errors when applying the CRDs, due to `metadata.annotations` exceeding the
24
24
262144 bytes limit, please refer to the specific entry in the [FAQ section](/faq#the-error-too-long-must-have-at-most-262144-bytes-is-faced-when-i-run-make-install-to-apply-the-crd-manifests-how-to-solve-it-why-this-error-is-faced).
@@ -29,9 +29,9 @@ Now that we've installed our CRDs, we can run the controller against our
29
29
cluster. This will use whatever credentials that we connect to the
30
30
cluster with, so we don't need to worry about RBAC just yet.
31
31
32
-
<asideclass="note">
32
+
<asideclass="note"role="note">
33
33
34
-
<h1>Running webhooks locally</h1>
34
+
<pclass="note-title">Running webhooks locally</p>
35
35
36
36
If you want to run the webhooks locally, you'll have to generate
37
37
certificates for serving the webhooks, and place them in the right
@@ -82,8 +82,8 @@ make docker-build docker-push IMG=<some-registry>/<project-name>:tag
82
82
make deploy IMG=<some-registry>/<project-name>:tag
83
83
```
84
84
85
-
<asideclass="note">
86
-
<h1>Registry Permission</h1>
85
+
<asideclass="note"role="note">
86
+
<pclass="note-title">Registry Permission</p>
87
87
88
88
This image ought to be published in the personal registry you specified. And it is required to have access to pull the image from the working environment.
89
89
Make sure you have the proper permission to the registry if the above commands don't work.
To know more, see: [Using Kind For Development Purposes and CI](./../reference/kind.md)
100
100
101
-
<h1>RBAC errors</h1>
101
+
<pclass="note-title">RBAC errors</p>
102
102
103
103
If you encounter RBAC errors, you may need to grant yourself cluster-admin
104
104
privileges or be logged in as admin. See [Prerequisites for using Kubernetes RBAC on GKE cluster v1.11.x and older][pre-rbc-gke] which may be your case.
This changes the path in the webhook marker annotation but does not change where the webhook files are scaffolded. The webhook files will still be created in `internal/webhook/v1/`.
39
39
40
-
<asideclass="note">
41
-
<h1>Version Requirements</h1>
40
+
<asideclass="note"role="note">
41
+
<pclass="note-title">Version Requirements</p>
42
42
43
43
Custom webhook paths require **controller-runtime v0.21+**. In earlier versions (< `v0.21`), the webhook path must follow a specific pattern and cannot be customized. The path is automatically generated based on the resource's group, version, and kind (e.g., `/mutate-batch-v1-cronjob`).
Copy file name to clipboardExpand all lines: docs/book/src/cronjob-tutorial/writing-tests.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,8 @@ The basic approach is that, in your generated `suite_test.go` file, you will use
9
9
10
10
If you want to tinker with how your envtest cluster is configured, see section [Configuring envtest for integration tests](../reference/envtest.md) as well as the [`envtest docs`](https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/envtest?tab=doc).
11
11
12
-
<asideclass="note">
13
-
<h1>Other Examples</h1>
12
+
<asideclass="note"role="note">
13
+
<pclass="note-title">Other Examples</p>
14
14
15
15
If you would like to see additional examples of controller tests generated by Kubebuilder, take a look at the <ahref="../plugins/available/deploy-image-plugin-v1-alpha.md">Deploy Image plugin (deploy-image/v1-alpha)</a>.
16
16
This plugin scaffolds APIs and controllers for managing an Operand (container image) on a cluster, following recommended patterns.
Copy file name to clipboardExpand all lines: docs/book/src/migration/ai-helpers.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
3
3
AI can assist manual migrations by reducing repetitive work and helping resolve breaking changes. It won't replace the [Manual Migration Process](./manual-process.md), but it can help reduce effort and accomplish the goal.
4
4
5
-
<asideclass="warning">
5
+
<asideclass="warning"role="note">
6
6
7
-
<h1>Important</h1>
7
+
<pclass="note-title">Important</p>
8
8
9
9
These AI instructions are provided as examples to help guide your migration. Always validate AI output carefully - you remain responsible for ensuring correctness.
0 commit comments