Skip to content

Commit 1e1e9d7

Browse files
synaretemergify[bot]
authored andcommitted
go.mod: update packages to newer versions
Upgrade logr, client-go and controller-runtime to newer versions which include various bug fixes. Align code with respect to changes in those libraries. Signed-off-by: Shachar Sharon <[email protected]>
1 parent 576fca3 commit 1e1e9d7

File tree

8 files changed

+308
-241
lines changed

8 files changed

+308
-241
lines changed

config/crd/bases/samba-operator.samba.org_smbcommonconfigs.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ spec:
207207
type: object
208208
type: object
209209
namespaceSelector:
210-
description: A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. This field is beta-level and is only honored when PodAffinityNamespaceSelector feature is enabled.
210+
description: A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces.
211211
properties:
212212
matchExpressions:
213213
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
@@ -237,7 +237,7 @@ spec:
237237
type: object
238238
type: object
239239
namespaces:
240-
description: namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace"
240+
description: namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
241241
items:
242242
type: string
243243
type: array
@@ -292,7 +292,7 @@ spec:
292292
type: object
293293
type: object
294294
namespaceSelector:
295-
description: A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. This field is beta-level and is only honored when PodAffinityNamespaceSelector feature is enabled.
295+
description: A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces.
296296
properties:
297297
matchExpressions:
298298
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
@@ -322,7 +322,7 @@ spec:
322322
type: object
323323
type: object
324324
namespaces:
325-
description: namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace"
325+
description: namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
326326
items:
327327
type: string
328328
type: array
@@ -376,7 +376,7 @@ spec:
376376
type: object
377377
type: object
378378
namespaceSelector:
379-
description: A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. This field is beta-level and is only honored when PodAffinityNamespaceSelector feature is enabled.
379+
description: A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces.
380380
properties:
381381
matchExpressions:
382382
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
@@ -406,7 +406,7 @@ spec:
406406
type: object
407407
type: object
408408
namespaces:
409-
description: namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace"
409+
description: namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
410410
items:
411411
type: string
412412
type: array
@@ -461,7 +461,7 @@ spec:
461461
type: object
462462
type: object
463463
namespaceSelector:
464-
description: A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. This field is beta-level and is only honored when PodAffinityNamespaceSelector feature is enabled.
464+
description: A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces.
465465
properties:
466466
matchExpressions:
467467
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
@@ -491,7 +491,7 @@ spec:
491491
type: object
492492
type: object
493493
namespaces:
494-
description: namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace"
494+
description: namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
495495
items:
496496
type: string
497497
type: array

config/crd/bases/samba-operator.samba.org_smbshares.yaml

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@ spec:
109109
description: Spec defines a new, temporary, PVC to use for the share. Behaves similar to the embedded PVC spec for pods.
110110
properties:
111111
accessModes:
112-
description: 'AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
112+
description: 'accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
113113
items:
114114
type: string
115115
type: array
116116
dataSource:
117-
description: 'This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field.'
117+
description: 'dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. If the namespace is specified, then dataSourceRef will not be copied to dataSource.'
118118
properties:
119119
apiGroup:
120120
description: APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
@@ -130,7 +130,7 @@ spec:
130130
- name
131131
type: object
132132
dataSourceRef:
133-
description: 'Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Alpha) Using this field requires the AnyVolumeDataSource feature gate to be enabled.'
133+
description: 'dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the dataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, when namespace isn''t specified in dataSourceRef, both fields (dataSource and dataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. When namespace is specified in dataSourceRef, dataSource isn''t set to the same value and must be empty. There are three important differences between dataSource and dataSourceRef: * While dataSource only allows two specific types of objects, dataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.'
134134
properties:
135135
apiGroup:
136136
description: APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
@@ -141,13 +141,31 @@ spec:
141141
name:
142142
description: Name is the name of resource being referenced
143143
type: string
144+
namespace:
145+
description: Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
146+
type: string
144147
required:
145148
- kind
146149
- name
147150
type: object
148151
resources:
149-
description: 'Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'
152+
description: 'resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'
150153
properties:
154+
claims:
155+
description: "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. \n This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. \n This field is immutable. It can only be set for containers."
156+
items:
157+
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
158+
properties:
159+
name:
160+
description: Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.
161+
type: string
162+
required:
163+
- name
164+
type: object
165+
type: array
166+
x-kubernetes-list-map-keys:
167+
- name
168+
x-kubernetes-list-type: map
151169
limits:
152170
additionalProperties:
153171
anyOf:
@@ -168,7 +186,7 @@ spec:
168186
type: object
169187
type: object
170188
selector:
171-
description: A label query over volumes to consider for binding.
189+
description: selector is a label query over volumes to consider for binding.
172190
properties:
173191
matchExpressions:
174192
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
@@ -198,13 +216,13 @@ spec:
198216
type: object
199217
type: object
200218
storageClassName:
201-
description: 'Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1'
219+
description: 'storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1'
202220
type: string
203221
volumeMode:
204222
description: volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.
205223
type: string
206224
volumeName:
207-
description: VolumeName is the binding reference to the PersistentVolume backing this claim.
225+
description: volumeName is the binding reference to the PersistentVolume backing this claim.
208226
type: string
209227
type: object
210228
type: object

0 commit comments

Comments
 (0)