From 778259ccde340c532631fc69644de8a2c55c3417 Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Fri, 14 Apr 2023 13:52:53 +0100 Subject: [PATCH] Remove the instruction to add Status subresource markers Because they are now added by default. Fixes: https://github.com/cert-manager/sample-external-issuer/issues/22 Signed-off-by: Richard Wall --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index d355e45..be8236b 100644 --- a/README.md +++ b/README.md @@ -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.