mirror of
https://github.com/kubernetes/client-go.git
synced 2026-05-15 03:33:11 +00:00
Update generated fields
Kubernetes-commit: 7d9e61be7ef21576e42ed533a233d7e985358b84
This commit is contained in:
committed by
Kubernetes Publisher
parent
32a3ac47cf
commit
73f4fa85e7
@@ -14643,6 +14643,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
||||
- name: podInfoOnMount
|
||||
type:
|
||||
scalar: boolean
|
||||
- name: preventPodSchedulingIfMissing
|
||||
type:
|
||||
scalar: boolean
|
||||
- name: requiresRepublish
|
||||
type:
|
||||
scalar: boolean
|
||||
@@ -15040,6 +15043,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
||||
- name: io.k8s.api.storage.v1beta1.CSIDriverSpec
|
||||
map:
|
||||
fields:
|
||||
- name: PreventPodSchedulingIfMissing
|
||||
type:
|
||||
scalar: boolean
|
||||
- name: attachRequired
|
||||
type:
|
||||
scalar: boolean
|
||||
|
||||
@@ -178,6 +178,11 @@ type CSIDriverSpecApplyConfiguration struct {
|
||||
//
|
||||
// Default behavior if unset is to pass tokens in the VolumeContext field.
|
||||
ServiceAccountTokenInSecrets *bool `json:"serviceAccountTokenInSecrets,omitempty"`
|
||||
// PreventPodSchedulingIfMissing indicates that the CSI driver wants to prevent pod scheduling if the CSI driver
|
||||
// on the node is missing.
|
||||
// This is an alpha feature and requires the VolumeLimitScaling feature gate to be enabled.
|
||||
// Default is "false".
|
||||
PreventPodSchedulingIfMissing *bool `json:"preventPodSchedulingIfMissing,omitempty"`
|
||||
}
|
||||
|
||||
// CSIDriverSpecApplyConfiguration constructs a declarative configuration of the CSIDriverSpec type for use with
|
||||
@@ -272,3 +277,11 @@ func (b *CSIDriverSpecApplyConfiguration) WithServiceAccountTokenInSecrets(value
|
||||
b.ServiceAccountTokenInSecrets = &value
|
||||
return b
|
||||
}
|
||||
|
||||
// WithPreventPodSchedulingIfMissing sets the PreventPodSchedulingIfMissing field in the declarative configuration to the given value
|
||||
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||
// If called multiple times, the PreventPodSchedulingIfMissing field is set to the value of the last call.
|
||||
func (b *CSIDriverSpecApplyConfiguration) WithPreventPodSchedulingIfMissing(value bool) *CSIDriverSpecApplyConfiguration {
|
||||
b.PreventPodSchedulingIfMissing = &value
|
||||
return b
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user