Skip to content

Commit da127a6

Browse files
authored
Regenerate CRDs using controller-gen v0.9.2 (#105)
Signed-off-by: Michael Gasch <[email protected]> Description of changes: When using the Kubernetes `e2e-framework` for testing a CRD setup function fails due to the newline in the two bases CRDs provided by this `runtime`. The fix is to remove the newlines which should not cause any issues with ACK downstream dependencies, controllers, code-gen, etc. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 007e038 commit da127a6

File tree

2 files changed

+3
-16
lines changed

2 files changed

+3
-16
lines changed

config/crd/bases/services.k8s.aws_adoptedresources.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
21
---
32
apiVersion: apiextensions.k8s.io/v1
43
kind: CustomResourceDefinition
54
metadata:
65
annotations:
7-
controller-gen.kubebuilder.io/version: v0.7.0
6+
controller-gen.kubebuilder.io/version: v0.9.2
87
creationTimestamp: null
98
name: adoptedresources.services.k8s.aws
109
spec:
@@ -170,6 +169,7 @@ spec:
170169
- name
171170
- uid
172171
type: object
172+
x-kubernetes-map-type: atomic
173173
type: array
174174
type: object
175175
required:
@@ -224,9 +224,3 @@ spec:
224224
storage: true
225225
subresources:
226226
status: {}
227-
status:
228-
acceptedNames:
229-
kind: ""
230-
plural: ""
231-
conditions: []
232-
storedVersions: []

config/crd/bases/services.k8s.aws_fieldexports.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
21
---
32
apiVersion: apiextensions.k8s.io/v1
43
kind: CustomResourceDefinition
54
metadata:
65
annotations:
7-
controller-gen.kubebuilder.io/version: v0.7.0
6+
controller-gen.kubebuilder.io/version: v0.9.2
87
creationTimestamp: null
98
name: fieldexports.services.k8s.aws
109
spec:
@@ -133,9 +132,3 @@ spec:
133132
storage: true
134133
subresources:
135134
status: {}
136-
status:
137-
acceptedNames:
138-
kind: ""
139-
plural: ""
140-
conditions: []
141-
storedVersions: []

0 commit comments

Comments
 (0)