Skip to content

Commit

Permalink
Merge pull request #8713 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…8712-to-release-1.4

[release-1.4] 🌱 Fix outdated link to Kubernetes docs
  • Loading branch information
k8s-ci-robot authored May 22, 2023
2 parents 0f96bad + df1bf86 commit c73b7ec
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ The latest API version of Cluster API and the version of your provider do not ne
### Add Status subresource

The [status subresource][status] lets Spec and Status requests for custom resources be addressed separately so requests don't conflict with each other.
It also lets you split RBAC rules between Spec and Status.
It's stable in Kubernetes as of [v1.16][rbac], but you will have to [manually enable it in Kubebuilder][kbstatus].
It also lets you split RBAC rules between Spec and Status. You will have to [manually enable it in Kubebuilder][kbstatus].

Add the `subresource:status` annotation to your `<provider>cluster_types.go` `<provider>machine_types.go`

Expand All @@ -80,7 +79,6 @@ make manifests
```
[status]: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#status-subresource
[rbac]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#customresourcesubresources-v1beta1-apiextensions-k8s-io
[kbstatus]: https://book.kubebuilder.io/reference/generating-crd.html?highlight=status#status
### Apply further customizations
Expand Down

0 comments on commit c73b7ec

Please sign in to comment.