Skip to content

Commit

Permalink
Remove the instruction to add Status subresource markers
Browse files Browse the repository at this point in the history
Because they are now added by default.

Fixes: #22

Signed-off-by: Richard Wall <[email protected]>
  • Loading branch information
wallrj committed Apr 14, 2023
1 parent d6c0afa commit 778259c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,6 @@ The values we pass to these commands specify the GVK (group, version, kind):
These commands will have created some boilerplate files and directories: `api/` and `controllers/`,
which we now need to edit as follows:

* `api/v1alpha1/{cluster}issuer_types.go`:
Add [Kubebuilder CRD Markers](https://book.kubebuilder.io/reference/markers/crd.html) to allow modification of IssuerStatus
as a [Status Subresource](https://book-v1.book.kubebuilder.io/basics/status_subresource.html): `// +kubebuilder:subresource:status`

* `api/v1alpha1/clusterissuer_types.go`:
Remove the `ClusterIssuerSpec` and `ClusterIssuerStatus` and replace them with `IssuerSpec` and `IssuerStatus`.
This is because both types of issuers share the same configuration and status reporting.
Expand Down

0 comments on commit 778259c

Please sign in to comment.