Skip to content

Commit 22cf510

Browse files
authored
Merge pull request #13208 from k8s-infra-cherrypick-robot/cherry-pick-13204-to-release-1.12
[release-1.12] 📖 Fix note about CRD contract label in migration doc
2 parents 495a9a5 + a6e2290 commit 22cf510

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/book/src/developer/providers/migrations/v1.10-to-v1.11.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2914,13 +2914,13 @@ Implementing the new v1beta2 contract for providers is a multistep operation:
29142914
please note that it is necessary to set the `omitzero` JSON marker
29152915
2. While implementing the changes above, It is also highly recommended to check the implementation of all the other rules
29162916
(documentation for contract rules have been improved in recent releases, worth to take a look!).
2917-
3. Change the CRD annotation that document which Cluster API contract is implemented by your Provider. e.g.
2917+
3. Change the CRD label that documents which Cluster API contract is implemented by your Provider. e.g.
29182918

29192919
```yaml
29202920
apiVersion: apiextensions.k8s.io/v1
29212921
kind: CustomResourceDefinition
29222922
metadata:
2923-
annotations:
2923+
labels:
29242924
cluster.x-k8s.io/v1beta2: <your API version>
29252925
name: <your CRD name>
29262926
```

0 commit comments

Comments
 (0)