Skip to content

Commit 30ea0ae

Browse files
committed
Update crds
- Our crds are extremely out of date. This change will stop other commits from being polluted by these crd updates Signed-off-by: Brady Siegel <[email protected]>
1 parent 8d4d108 commit 30ea0ae

File tree

6 files changed

+195
-233
lines changed

6 files changed

+195
-233
lines changed
Lines changed: 48 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
21
---
32
apiVersion: apiextensions.k8s.io/v1
43
kind: CustomResourceDefinition
54
metadata:
65
annotations:
7-
controller-gen.kubebuilder.io/version: v0.4.1
8-
creationTimestamp: null
6+
controller-gen.kubebuilder.io/version: v0.17.3
97
name: awspcaclusterissuers.awspca.cert-manager.io
108
spec:
119
group: awspca.cert-manager.io
@@ -23,14 +21,19 @@ spec:
2321
API
2422
properties:
2523
apiVersion:
26-
description: 'APIVersion defines the versioned schema of this representation
27-
of an object. Servers should convert recognized schemas to the latest
28-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
24+
description: |-
25+
APIVersion defines the versioned schema of this representation of an object.
26+
Servers should convert recognized schemas to the latest internal value, and
27+
may reject unrecognized values.
28+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2929
type: string
3030
kind:
31-
description: 'Kind is a string value representing the REST resource this
32-
object represents. Servers may infer this from the endpoint the client
33-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
31+
description: |-
32+
Kind is a string value representing the REST resource this object represents.
33+
Servers may infer this from the endpoint the client submits requests to.
34+
Cannot be updated.
35+
In CamelCase.
36+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3437
type: string
3538
metadata:
3639
type: object
@@ -56,8 +59,13 @@ spec:
5659
a valid secret key.
5760
type: string
5861
name:
59-
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
60-
TODO: Add other useful fields. apiVersion, kind, uid?'
62+
default: ""
63+
description: |-
64+
Name of the referent.
65+
This field is effectively required, but due to backwards compatibility is
66+
allowed to be empty. Instances of this type with an empty value here are
67+
almost certainly wrong.
68+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
6169
type: string
6270
optional:
6371
description: Specify whether the Secret or its key must be
@@ -66,12 +74,13 @@ spec:
6674
required:
6775
- key
6876
type: object
77+
x-kubernetes-map-type: atomic
6978
name:
70-
description: Name is unique within a namespace to reference a
79+
description: name is unique within a namespace to reference a
7180
secret resource.
7281
type: string
7382
namespace:
74-
description: Namespace defines the space within which the secret
83+
description: namespace defines the space within which the secret
7584
name must be unique.
7685
type: string
7786
secretAccessKeySelector:
@@ -83,8 +92,13 @@ spec:
8392
a valid secret key.
8493
type: string
8594
name:
86-
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
87-
TODO: Add other useful fields. apiVersion, kind, uid?'
95+
default: ""
96+
description: |-
97+
Name of the referent.
98+
This field is effectively required, but due to backwards compatibility is
99+
allowed to be empty. Instances of this type with an empty value here are
100+
almost certainly wrong.
101+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
88102
type: string
89103
optional:
90104
description: Specify whether the Secret or its key must be
@@ -93,51 +107,44 @@ spec:
93107
required:
94108
- key
95109
type: object
110+
x-kubernetes-map-type: atomic
96111
type: object
112+
x-kubernetes-map-type: atomic
97113
type: object
98114
status:
99115
description: AWSPCAIssuerStatus defines the observed state of AWSPCAIssuer
100116
properties:
101117
conditions:
102118
items:
103-
description: "Condition contains details for one aspect of the current
104-
state of this API Resource. --- This struct is intended for direct
105-
use as an array at the field path .status.conditions. For example,
106-
type FooStatus struct{ // Represents the observations of a
107-
foo's current state. // Known .status.conditions.type are:
108-
\"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
109-
\ // +patchStrategy=merge // +listType=map // +listMapKey=type
110-
\ Conditions []metav1.Condition `json:\"conditions,omitempty\"
111-
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
112-
\n // other fields }"
119+
description: Condition contains details for one aspect of the current
120+
state of this API Resource.
113121
properties:
114122
lastTransitionTime:
115-
description: lastTransitionTime is the last time the condition
116-
transitioned from one status to another. This should be when
117-
the underlying condition changed. If that is not known, then
118-
using the time when the API field changed is acceptable.
123+
description: |-
124+
lastTransitionTime is the last time the condition transitioned from one status to another.
125+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
119126
format: date-time
120127
type: string
121128
message:
122-
description: message is a human readable message indicating
123-
details about the transition. This may be an empty string.
129+
description: |-
130+
message is a human readable message indicating details about the transition.
131+
This may be an empty string.
124132
maxLength: 32768
125133
type: string
126134
observedGeneration:
127-
description: observedGeneration represents the .metadata.generation
128-
that the condition was set based upon. For instance, if .metadata.generation
129-
is currently 12, but the .status.conditions[x].observedGeneration
130-
is 9, the condition is out of date with respect to the current
131-
state of the instance.
135+
description: |-
136+
observedGeneration represents the .metadata.generation that the condition was set based upon.
137+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
138+
with respect to the current state of the instance.
132139
format: int64
133140
minimum: 0
134141
type: integer
135142
reason:
136-
description: reason contains a programmatic identifier indicating
137-
the reason for the condition's last transition. Producers
138-
of specific condition types may define expected values and
139-
meanings for this field, and whether the values are considered
140-
a guaranteed API. The value should be a CamelCase string.
143+
description: |-
144+
reason contains a programmatic identifier indicating the reason for the condition's last transition.
145+
Producers of specific condition types may define expected values and meanings for this field,
146+
and whether the values are considered a guaranteed API.
147+
The value should be a CamelCase string.
141148
This field may not be empty.
142149
maxLength: 1024
143150
minLength: 1
@@ -152,10 +159,6 @@ spec:
152159
type: string
153160
type:
154161
description: type of condition in CamelCase or in foo.example.com/CamelCase.
155-
--- Many .condition.type values are consistent across resources
156-
like Available, but because arbitrary conditions can be useful
157-
(see .node.status.conditions), the ability to deconflict is
158-
important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
159162
maxLength: 316
160163
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
161164
type: string
@@ -173,9 +176,3 @@ spec:
173176
storage: true
174177
subresources:
175178
status: {}
176-
status:
177-
acceptedNames:
178-
kind: ""
179-
plural: ""
180-
conditions: []
181-
storedVersions: []

0 commit comments

Comments
 (0)