Skip to content

Commit 4cf7c05

Browse files
Generate manifests using new controller-gen
1 parent 2c78db0 commit 4cf7c05

15 files changed

+48
-99
lines changed

config/crd/bases/mongodb.com_clustermongodbroles.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
name: clustermongodbroles.mongodb.com
88
spec:
99
group: mongodb.com

config/crd/bases/mongodb.com_mongodb.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
name: mongodb.mongodb.com
88
spec:
99
group: mongodb.com
@@ -1423,9 +1423,7 @@ spec:
14231423
This field is effectively required, but due to backwards compatibility is
14241424
allowed to be empty. Instances of this type with an empty value here are
14251425
almost certainly wrong.
1426-
TODO: Add other useful fields. apiVersion, kind, uid?
14271426
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
1428-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
14291427
type: string
14301428
optional:
14311429
description: Specify whether the Secret or its key
@@ -1482,9 +1480,7 @@ spec:
14821480
This field is effectively required, but due to backwards compatibility is
14831481
allowed to be empty. Instances of this type with an empty value here are
14841482
almost certainly wrong.
1485-
TODO: Add other useful fields. apiVersion, kind, uid?
14861483
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
1487-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
14881484
type: string
14891485
optional:
14901486
description: Specify whether the ConfigMap or its

config/crd/bases/mongodb.com_mongodbmulticluster.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
name: mongodbmulticluster.mongodb.com
88
spec:
99
group: mongodb.com
@@ -683,9 +683,7 @@ spec:
683683
This field is effectively required, but due to backwards compatibility is
684684
allowed to be empty. Instances of this type with an empty value here are
685685
almost certainly wrong.
686-
TODO: Add other useful fields. apiVersion, kind, uid?
687686
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
688-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
689687
type: string
690688
optional:
691689
description: Specify whether the Secret or its key
@@ -742,9 +740,7 @@ spec:
742740
This field is effectively required, but due to backwards compatibility is
743741
allowed to be empty. Instances of this type with an empty value here are
744742
almost certainly wrong.
745-
TODO: Add other useful fields. apiVersion, kind, uid?
746743
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
747-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
748744
type: string
749745
optional:
750746
description: Specify whether the ConfigMap or its

config/crd/bases/mongodb.com_mongodbsearch.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
name: mongodbsearch.mongodb.com
88
spec:
99
group: mongodb.com
@@ -102,11 +102,9 @@ spec:
102102
Claims lists the names of resources, defined in spec.resourceClaims,
103103
that are used by this container.
104104
105-
106105
This is an alpha field and requires enabling the
107106
DynamicResourceAllocation feature gate.
108107
109-
110108
This field is immutable. It can only be set for containers.
111109
items:
112110
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
@@ -117,6 +115,12 @@ spec:
117115
the Pod where this field is used. It makes that resource available
118116
inside a container.
119117
type: string
118+
request:
119+
description: |-
120+
Request is the name chosen for a request in the referenced claim.
121+
If empty, everything from the claim is made available, otherwise
122+
only the result of this request.
123+
type: string
120124
required:
121125
- name
122126
type: object

config/crd/bases/mongodb.com_mongodbusers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
name: mongodbusers.mongodb.com
88
spec:
99
group: mongodb.com

config/crd/bases/mongodb.com_opsmanagers.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
name: opsmanagers.mongodb.com
88
spec:
99
group: mongodb.com
@@ -744,9 +744,7 @@ spec:
744744
This field is effectively required, but due to backwards compatibility is
745745
allowed to be empty. Instances of this type with an empty value here are
746746
almost certainly wrong.
747-
TODO: Add other useful fields. apiVersion, kind, uid?
748747
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
749-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
750748
type: string
751749
optional:
752750
description: Specify whether the Secret or its
@@ -804,9 +802,7 @@ spec:
804802
This field is effectively required, but due to backwards compatibility is
805803
allowed to be empty. Instances of this type with an empty value here are
806804
almost certainly wrong.
807-
TODO: Add other useful fields. apiVersion, kind, uid?
808805
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
809-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
810806
type: string
811807
optional:
812808
description: Specify whether the ConfigMap or
@@ -1253,9 +1249,7 @@ spec:
12531249
This field is effectively required, but due to backwards compatibility is
12541250
allowed to be empty. Instances of this type with an empty value here are
12551251
almost certainly wrong.
1256-
TODO: Add other useful fields. apiVersion, kind, uid?
12571252
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
1258-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
12591253
type: string
12601254
optional:
12611255
description: Specify whether the Secret or its key
@@ -1347,9 +1341,7 @@ spec:
13471341
This field is effectively required, but due to backwards compatibility is
13481342
allowed to be empty. Instances of this type with an empty value here are
13491343
almost certainly wrong.
1350-
TODO: Add other useful fields. apiVersion, kind, uid?
13511344
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
1352-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
13531345
type: string
13541346
optional:
13551347
description: Specify whether the Secret or its key
@@ -1503,6 +1495,8 @@ spec:
15031495
required:
15041496
- spec
15051497
type: object
1498+
required:
1499+
- members
15061500
type: object
15071501
clusterDomain:
15081502
description: Cluster domain to override the default *.svc.cluster.local
@@ -1606,6 +1600,7 @@ spec:
16061600
- spec
16071601
type: object
16081602
required:
1603+
- clusterName
16091604
- members
16101605
type: object
16111606
type: array

config/crd/bases/mongodbcommunity.mongodb.com_mongodbcommunity.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
service.binding: path={.metadata.name}-{.spec.users[0].db}-{.spec.users[0].name},objectType=Secret
88
service.binding/connectionString: path={.metadata.name}-{.spec.users[0].db}-{.spec.users[0].name},objectType=Secret,sourceKey=connectionString.standardSrv
99
service.binding/password: path={.metadata.name}-{.spec.users[0].db}-{.spec.users[0].name},objectType=Secret,sourceKey=password
@@ -344,9 +344,7 @@ spec:
344344
This field is effectively required, but due to backwards compatibility is
345345
allowed to be empty. Instances of this type with an empty value here are
346346
almost certainly wrong.
347-
TODO: Add other useful fields. apiVersion, kind, uid?
348347
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
349-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
350348
type: string
351349
type: object
352350
x-kubernetes-map-type: atomic
@@ -479,9 +477,7 @@ spec:
479477
This field is effectively required, but due to backwards compatibility is
480478
allowed to be empty. Instances of this type with an empty value here are
481479
almost certainly wrong.
482-
TODO: Add other useful fields. apiVersion, kind, uid?
483480
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
484-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
485481
type: string
486482
type: object
487483
x-kubernetes-map-type: atomic
@@ -498,9 +494,7 @@ spec:
498494
This field is effectively required, but due to backwards compatibility is
499495
allowed to be empty. Instances of this type with an empty value here are
500496
almost certainly wrong.
501-
TODO: Add other useful fields. apiVersion, kind, uid?
502497
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
503-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
504498
type: string
505499
type: object
506500
x-kubernetes-map-type: atomic
@@ -519,9 +513,7 @@ spec:
519513
This field is effectively required, but due to backwards compatibility is
520514
allowed to be empty. Instances of this type with an empty value here are
521515
almost certainly wrong.
522-
TODO: Add other useful fields. apiVersion, kind, uid?
523516
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
524-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
525517
type: string
526518
type: object
527519
x-kubernetes-map-type: atomic

helm_chart/crds/mongodb.com_clustermongodbroles.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
name: clustermongodbroles.mongodb.com
88
spec:
99
group: mongodb.com

helm_chart/crds/mongodb.com_mongodb.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
name: mongodb.mongodb.com
88
spec:
99
group: mongodb.com
@@ -1423,9 +1423,7 @@ spec:
14231423
This field is effectively required, but due to backwards compatibility is
14241424
allowed to be empty. Instances of this type with an empty value here are
14251425
almost certainly wrong.
1426-
TODO: Add other useful fields. apiVersion, kind, uid?
14271426
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
1428-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
14291427
type: string
14301428
optional:
14311429
description: Specify whether the Secret or its key
@@ -1482,9 +1480,7 @@ spec:
14821480
This field is effectively required, but due to backwards compatibility is
14831481
allowed to be empty. Instances of this type with an empty value here are
14841482
almost certainly wrong.
1485-
TODO: Add other useful fields. apiVersion, kind, uid?
14861483
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
1487-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
14881484
type: string
14891485
optional:
14901486
description: Specify whether the ConfigMap or its

helm_chart/crds/mongodb.com_mongodbmulticluster.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
name: mongodbmulticluster.mongodb.com
88
spec:
99
group: mongodb.com
@@ -683,9 +683,7 @@ spec:
683683
This field is effectively required, but due to backwards compatibility is
684684
allowed to be empty. Instances of this type with an empty value here are
685685
almost certainly wrong.
686-
TODO: Add other useful fields. apiVersion, kind, uid?
687686
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
688-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
689687
type: string
690688
optional:
691689
description: Specify whether the Secret or its key
@@ -742,9 +740,7 @@ spec:
742740
This field is effectively required, but due to backwards compatibility is
743741
allowed to be empty. Instances of this type with an empty value here are
744742
almost certainly wrong.
745-
TODO: Add other useful fields. apiVersion, kind, uid?
746743
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
747-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
748744
type: string
749745
optional:
750746
description: Specify whether the ConfigMap or its

0 commit comments

Comments
 (0)