Skip to content

Commit 6a332bd

Browse files
committed
OCPBUGS-62268: Updates the API description in CSV
1 parent d346a70 commit 6a332bd

File tree

2 files changed

+106
-19
lines changed

2 files changed

+106
-19
lines changed

bundle/manifests/cert-manager-operator.clusterserviceversion.yaml

Lines changed: 49 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -277,30 +277,71 @@ spec:
277277
apiservicedefinitions: {}
278278
customresourcedefinitions:
279279
owned:
280-
- kind: CertificateRequest
280+
- description: |-
281+
A CertificateRequest is used to request a signed certificate from one of the
282+
configured issuers.
283+
284+
All fields within the CertificateRequest's `spec` are immutable after creation.
285+
A CertificateRequest will either succeed or fail, as denoted by its `Ready` status
286+
condition and its `status.failureTime` field.
287+
288+
A CertificateRequest is a one-shot resource, meaning it represents a single
289+
point in time request for a certificate and cannot be re-used.
290+
displayName: CertificateRequest
291+
kind: CertificateRequest
281292
name: certificaterequests.cert-manager.io
282293
version: v1
283-
- kind: Certificate
294+
- description: |-
295+
A Certificate resource should be created to ensure an up to date and signed
296+
X.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.
297+
298+
The stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).
299+
displayName: Certificate
300+
kind: Certificate
284301
name: certificates.cert-manager.io
285302
version: v1
286303
- description: CertManager is the Schema for the certmanagers API
287304
displayName: CertManager
288305
kind: CertManager
289306
name: certmanagers.operator.openshift.io
290307
version: v1alpha1
291-
- kind: Challenge
308+
- description: Challenge is a type to represent a Challenge request with an ACME
309+
server
310+
displayName: Challenge
311+
kind: Challenge
292312
name: challenges.acme.cert-manager.io
293313
version: v1
294-
- kind: ClusterIssuer
314+
- description: |-
315+
A ClusterIssuer represents a certificate issuing authority which can be
316+
referenced as part of `issuerRef` fields.
317+
It is similar to an Issuer, however it is cluster-scoped and therefore can
318+
be referenced by resources that exist in *any* namespace, not just the same
319+
namespace as the referent.
320+
displayName: ClusterIssuer
321+
kind: ClusterIssuer
295322
name: clusterissuers.cert-manager.io
296323
version: v1
297-
- kind: Issuer
324+
- description: |-
325+
An Issuer represents a certificate issuing authority which can be
326+
referenced as part of `issuerRef` fields.
327+
It is scoped to a single namespace and can therefore only be referenced by
328+
resources within the same namespace.
329+
displayName: Issuer
330+
kind: Issuer
298331
name: issuers.cert-manager.io
299332
version: v1
300-
- kind: IstioCSR
333+
- description: |-
334+
IstioCSR describes the configuration and information about the managed istio-csr agent.
335+
The name must be `default` to make IstioCSR a singleton that is, to allow only one instance of IstioCSR per namespace.
336+
337+
When an IstioCSR is created, istio-csr agent is deployed in the IstioCSR-created namespace.
338+
displayName: IstioCSR
339+
kind: IstioCSR
301340
name: istiocsrs.operator.openshift.io
302341
version: v1alpha1
303-
- kind: Order
342+
- description: Order is a type to represent an Order with an ACME server
343+
displayName: Order
344+
kind: Order
304345
name: orders.acme.cert-manager.io
305346
version: v1
306347
description: |
@@ -760,6 +801,7 @@ spec:
760801
- certificates
761802
- security
762803
- TLS
804+
- istio-csr
763805
links:
764806
- name: Documentation
765807
url: https://github.com/openshift/cert-manager-operator/blob/master/README.md

config/manifests/bases/cert-manager-operator.clusterserviceversion.yaml

Lines changed: 57 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,24 +44,68 @@ spec:
4444
apiservicedefinitions: {}
4545
customresourcedefinitions:
4646
owned:
47-
- kind: CertificateRequest
48-
name: cert-manager.io
47+
- description: |-
48+
A CertificateRequest is used to request a signed certificate from one of the
49+
configured issuers.
50+
51+
All fields within the CertificateRequest's `spec` are immutable after creation.
52+
A CertificateRequest will either succeed or fail, as denoted by its `Ready` status
53+
condition and its `status.failureTime` field.
54+
55+
A CertificateRequest is a one-shot resource, meaning it represents a single
56+
point in time request for a certificate and cannot be re-used.
57+
displayName: CertificateRequest
58+
kind: CertificateRequest
59+
name: certificaterequests.cert-manager.io
4960
version: v1
50-
- kind: Certificate
51-
name: cert-manager.io
61+
- description: |-
62+
A Certificate resource should be created to ensure an up to date and signed
63+
X.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.
64+
65+
The stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).
66+
displayName: Certificate
67+
kind: Certificate
68+
name: certificates.cert-manager.io
5269
version: v1
53-
- kind: Challenge
54-
name: acme.cert-manager.io
70+
- description: Challenge is a type to represent a Challenge request with an ACME
71+
server
72+
displayName: Challenge
73+
kind: Challenge
74+
name: challenges.acme.cert-manager.io
5575
version: v1
56-
- kind: ClusterIssuer
57-
name: cert-manager.io
76+
- description: |-
77+
A ClusterIssuer represents a certificate issuing authority which can be
78+
referenced as part of `issuerRef` fields.
79+
It is similar to an Issuer, however it is cluster-scoped and therefore can
80+
be referenced by resources that exist in *any* namespace, not just the same
81+
namespace as the referent.
82+
displayName: ClusterIssuer
83+
kind: ClusterIssuer
84+
name: clusterissuers.cert-manager.io
5885
version: v1
59-
- kind: Issuer
60-
name: cert-manager.io
86+
- description: |-
87+
An Issuer represents a certificate issuing authority which can be
88+
referenced as part of `issuerRef` fields.
89+
It is scoped to a single namespace and can therefore only be referenced by
90+
resources within the same namespace.
91+
displayName: Issuer
92+
kind: Issuer
93+
name: issuers.cert-manager.io
6194
version: v1
62-
- kind: Order
63-
name: acme.cert-manager.io
95+
- description: Order is a type to represent an Order with an ACME server
96+
displayName: Order
97+
kind: Order
98+
name: orders.acme.cert-manager.io
6499
version: v1
100+
- description: |-
101+
IstioCSR describes the configuration and information about the managed istio-csr agent.
102+
The name must be `default` to make IstioCSR a singleton that is, to allow only one instance of IstioCSR per namespace.
103+
104+
When an IstioCSR is created, istio-csr agent is deployed in the IstioCSR-created namespace.
105+
displayName: IstioCSR
106+
kind: IstioCSR
107+
name: istiocsrs.operator.openshift.io
108+
version: v1alpha1
65109
- description: CertManager is the Schema for the certmanagers API
66110
displayName: CertManager
67111
kind: CertManager
@@ -94,6 +138,7 @@ spec:
94138
- certificates
95139
- security
96140
- TLS
141+
- istio-csr
97142
links:
98143
- name: Documentation
99144
url: https://github.com/openshift/cert-manager-operator/blob/master/README.md

0 commit comments

Comments
 (0)