mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
generated code and doc
Signed-off-by: zhucan <zhucan.k8s@gmail.com>
This commit is contained in:
parent
c74b393771
commit
1c1faf97ee
6
api/openapi-spec/swagger.json
generated
6
api/openapi-spec/swagger.json
generated
@ -4942,7 +4942,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"controllerExpandSecretRef": {
|
"controllerExpandSecretRef": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.SecretReference",
|
"$ref": "#/definitions/io.k8s.api.core.v1.SecretReference",
|
||||||
"description": "controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."
|
"description": "controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an beta field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."
|
||||||
},
|
},
|
||||||
"controllerPublishSecretRef": {
|
"controllerPublishSecretRef": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.SecretReference",
|
"$ref": "#/definitions/io.k8s.api.core.v1.SecretReference",
|
||||||
@ -4956,6 +4956,10 @@
|
|||||||
"description": "fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".",
|
"description": "fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"nodeExpandSecretRef": {
|
||||||
|
"$ref": "#/definitions/io.k8s.api.core.v1.SecretReference",
|
||||||
|
"description": "nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This is an alpha field and requires enabling CSINodeExpandSecret feature gate. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed."
|
||||||
|
},
|
||||||
"nodePublishSecretRef": {
|
"nodePublishSecretRef": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.SecretReference",
|
"$ref": "#/definitions/io.k8s.api.core.v1.SecretReference",
|
||||||
"description": "nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."
|
"description": "nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."
|
||||||
|
@ -422,7 +422,7 @@
|
|||||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.SecretReference"
|
"$ref": "#/components/schemas/io.k8s.api.core.v1.SecretReference"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."
|
"description": "controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an beta field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."
|
||||||
},
|
},
|
||||||
"controllerPublishSecretRef": {
|
"controllerPublishSecretRef": {
|
||||||
"allOf": [
|
"allOf": [
|
||||||
@ -441,6 +441,14 @@
|
|||||||
"description": "fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".",
|
"description": "fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"nodeExpandSecretRef": {
|
||||||
|
"allOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/io.k8s.api.core.v1.SecretReference"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This is an alpha field and requires enabling CSINodeExpandSecret feature gate. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed."
|
||||||
|
},
|
||||||
"nodePublishSecretRef": {
|
"nodePublishSecretRef": {
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
|
@ -101,7 +101,7 @@
|
|||||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.SecretReference"
|
"$ref": "#/components/schemas/io.k8s.api.core.v1.SecretReference"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."
|
"description": "controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an beta field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."
|
||||||
},
|
},
|
||||||
"controllerPublishSecretRef": {
|
"controllerPublishSecretRef": {
|
||||||
"allOf": [
|
"allOf": [
|
||||||
@ -120,6 +120,14 @@
|
|||||||
"description": "fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".",
|
"description": "fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"nodeExpandSecretRef": {
|
||||||
|
"allOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/io.k8s.api.core.v1.SecretReference"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This is an alpha field and requires enabling CSINodeExpandSecret feature gate. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed."
|
||||||
|
},
|
||||||
"nodePublishSecretRef": {
|
"nodePublishSecretRef": {
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
|
2
pkg/apis/core/v1/zz_generated.conversion.go
generated
2
pkg/apis/core/v1/zz_generated.conversion.go
generated
@ -2423,6 +2423,7 @@ func autoConvert_v1_CSIPersistentVolumeSource_To_core_CSIPersistentVolumeSource(
|
|||||||
out.NodeStageSecretRef = (*core.SecretReference)(unsafe.Pointer(in.NodeStageSecretRef))
|
out.NodeStageSecretRef = (*core.SecretReference)(unsafe.Pointer(in.NodeStageSecretRef))
|
||||||
out.NodePublishSecretRef = (*core.SecretReference)(unsafe.Pointer(in.NodePublishSecretRef))
|
out.NodePublishSecretRef = (*core.SecretReference)(unsafe.Pointer(in.NodePublishSecretRef))
|
||||||
out.ControllerExpandSecretRef = (*core.SecretReference)(unsafe.Pointer(in.ControllerExpandSecretRef))
|
out.ControllerExpandSecretRef = (*core.SecretReference)(unsafe.Pointer(in.ControllerExpandSecretRef))
|
||||||
|
out.NodeExpandSecretRef = (*core.SecretReference)(unsafe.Pointer(in.NodeExpandSecretRef))
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2441,6 +2442,7 @@ func autoConvert_core_CSIPersistentVolumeSource_To_v1_CSIPersistentVolumeSource(
|
|||||||
out.NodeStageSecretRef = (*v1.SecretReference)(unsafe.Pointer(in.NodeStageSecretRef))
|
out.NodeStageSecretRef = (*v1.SecretReference)(unsafe.Pointer(in.NodeStageSecretRef))
|
||||||
out.NodePublishSecretRef = (*v1.SecretReference)(unsafe.Pointer(in.NodePublishSecretRef))
|
out.NodePublishSecretRef = (*v1.SecretReference)(unsafe.Pointer(in.NodePublishSecretRef))
|
||||||
out.ControllerExpandSecretRef = (*v1.SecretReference)(unsafe.Pointer(in.ControllerExpandSecretRef))
|
out.ControllerExpandSecretRef = (*v1.SecretReference)(unsafe.Pointer(in.ControllerExpandSecretRef))
|
||||||
|
out.NodeExpandSecretRef = (*v1.SecretReference)(unsafe.Pointer(in.NodeExpandSecretRef))
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
5
pkg/apis/core/zz_generated.deepcopy.go
generated
5
pkg/apis/core/zz_generated.deepcopy.go
generated
@ -243,6 +243,11 @@ func (in *CSIPersistentVolumeSource) DeepCopyInto(out *CSIPersistentVolumeSource
|
|||||||
*out = new(SecretReference)
|
*out = new(SecretReference)
|
||||||
**out = **in
|
**out = **in
|
||||||
}
|
}
|
||||||
|
if in.NodeExpandSecretRef != nil {
|
||||||
|
in, out := &in.NodeExpandSecretRef, &out.NodeExpandSecretRef
|
||||||
|
*out = new(SecretReference)
|
||||||
|
**out = **in
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
8
pkg/generated/openapi/zz_generated.openapi.go
generated
8
pkg/generated/openapi/zz_generated.openapi.go
generated
@ -14822,7 +14822,13 @@ func schema_k8sio_api_core_v1_CSIPersistentVolumeSource(ref common.ReferenceCall
|
|||||||
},
|
},
|
||||||
"controllerExpandSecretRef": {
|
"controllerExpandSecretRef": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
|
Description: "controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an beta field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
|
||||||
|
Ref: ref("k8s.io/api/core/v1.SecretReference"),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"nodeExpandSecretRef": {
|
||||||
|
SchemaProps: spec.SchemaProps{
|
||||||
|
Description: "nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This is an alpha field and requires enabling CSINodeExpandSecret feature gate. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
|
||||||
Ref: ref("k8s.io/api/core/v1.SecretReference"),
|
Ref: ref("k8s.io/api/core/v1.SecretReference"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
1840
staging/src/k8s.io/api/core/v1/generated.pb.go
generated
1840
staging/src/k8s.io/api/core/v1/generated.pb.go
generated
File diff suppressed because it is too large
Load Diff
@ -220,11 +220,20 @@ message CSIPersistentVolumeSource {
|
|||||||
// controllerExpandSecretRef is a reference to the secret object containing
|
// controllerExpandSecretRef is a reference to the secret object containing
|
||||||
// sensitive information to pass to the CSI driver to complete the CSI
|
// sensitive information to pass to the CSI driver to complete the CSI
|
||||||
// ControllerExpandVolume call.
|
// ControllerExpandVolume call.
|
||||||
// This is an alpha field and requires enabling ExpandCSIVolumes feature gate.
|
// This is an beta field and requires enabling ExpandCSIVolumes feature gate.
|
||||||
// This field is optional, and may be empty if no secret is required. If the
|
// This field is optional, and may be empty if no secret is required. If the
|
||||||
// secret object contains more than one secret, all secrets are passed.
|
// secret object contains more than one secret, all secrets are passed.
|
||||||
// +optional
|
// +optional
|
||||||
optional SecretReference controllerExpandSecretRef = 9;
|
optional SecretReference controllerExpandSecretRef = 9;
|
||||||
|
|
||||||
|
// nodeExpandSecretRef is a reference to the secret object containing
|
||||||
|
// sensitive information to pass to the CSI driver to complete the CSI
|
||||||
|
// NodeExpandVolume call.
|
||||||
|
// This is an alpha field and requires enabling CSINodeExpandSecret feature gate.
|
||||||
|
// This field is optional, may be omitted if no secret is required. If the
|
||||||
|
// secret object contains more than one secret, all secrets are passed.
|
||||||
|
// +optional
|
||||||
|
optional SecretReference nodeExpandSecretRef = 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Represents a source location of a volume to mount, managed by an external CSI driver
|
// Represents a source location of a volume to mount, managed by an external CSI driver
|
||||||
|
@ -126,7 +126,8 @@ var map_CSIPersistentVolumeSource = map[string]string{
|
|||||||
"controllerPublishSecretRef": "controllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
|
"controllerPublishSecretRef": "controllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
|
||||||
"nodeStageSecretRef": "nodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
|
"nodeStageSecretRef": "nodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
|
||||||
"nodePublishSecretRef": "nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
|
"nodePublishSecretRef": "nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
|
||||||
"controllerExpandSecretRef": "controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
|
"controllerExpandSecretRef": "controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an beta field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
|
||||||
|
"nodeExpandSecretRef": "nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This is an alpha field and requires enabling CSINodeExpandSecret feature gate. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (CSIPersistentVolumeSource) SwaggerDoc() map[string]string {
|
func (CSIPersistentVolumeSource) SwaggerDoc() map[string]string {
|
||||||
|
@ -243,6 +243,11 @@ func (in *CSIPersistentVolumeSource) DeepCopyInto(out *CSIPersistentVolumeSource
|
|||||||
*out = new(SecretReference)
|
*out = new(SecretReference)
|
||||||
**out = **in
|
**out = **in
|
||||||
}
|
}
|
||||||
|
if in.NodeExpandSecretRef != nil {
|
||||||
|
in, out := &in.NodeExpandSecretRef, &out.NodeExpandSecretRef
|
||||||
|
*out = new(SecretReference)
|
||||||
|
**out = **in
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -251,6 +251,10 @@
|
|||||||
"controllerExpandSecretRef": {
|
"controllerExpandSecretRef": {
|
||||||
"name": "nameValue",
|
"name": "nameValue",
|
||||||
"namespace": "namespaceValue"
|
"namespace": "namespaceValue"
|
||||||
|
},
|
||||||
|
"nodeExpandSecretRef": {
|
||||||
|
"name": "nameValue",
|
||||||
|
"namespace": "namespaceValue"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"accessModes": [
|
"accessModes": [
|
||||||
|
Binary file not shown.
@ -89,6 +89,9 @@ spec:
|
|||||||
namespace: namespaceValue
|
namespace: namespaceValue
|
||||||
driver: driverValue
|
driver: driverValue
|
||||||
fsType: fsTypeValue
|
fsType: fsTypeValue
|
||||||
|
nodeExpandSecretRef:
|
||||||
|
name: nameValue
|
||||||
|
namespace: namespaceValue
|
||||||
nodePublishSecretRef:
|
nodePublishSecretRef:
|
||||||
name: nameValue
|
name: nameValue
|
||||||
namespace: namespaceValue
|
namespace: namespaceValue
|
||||||
|
@ -255,6 +255,10 @@
|
|||||||
"controllerExpandSecretRef": {
|
"controllerExpandSecretRef": {
|
||||||
"name": "nameValue",
|
"name": "nameValue",
|
||||||
"namespace": "namespaceValue"
|
"namespace": "namespaceValue"
|
||||||
|
},
|
||||||
|
"nodeExpandSecretRef": {
|
||||||
|
"name": "nameValue",
|
||||||
|
"namespace": "namespaceValue"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"accessModes": [
|
"accessModes": [
|
||||||
|
Binary file not shown.
@ -93,6 +93,9 @@ spec:
|
|||||||
namespace: namespaceValue
|
namespace: namespaceValue
|
||||||
driver: driverValue
|
driver: driverValue
|
||||||
fsType: fsTypeValue
|
fsType: fsTypeValue
|
||||||
|
nodeExpandSecretRef:
|
||||||
|
name: nameValue
|
||||||
|
namespace: namespaceValue
|
||||||
nodePublishSecretRef:
|
nodePublishSecretRef:
|
||||||
name: nameValue
|
name: nameValue
|
||||||
namespace: namespaceValue
|
namespace: namespaceValue
|
||||||
|
@ -255,6 +255,10 @@
|
|||||||
"controllerExpandSecretRef": {
|
"controllerExpandSecretRef": {
|
||||||
"name": "nameValue",
|
"name": "nameValue",
|
||||||
"namespace": "namespaceValue"
|
"namespace": "namespaceValue"
|
||||||
|
},
|
||||||
|
"nodeExpandSecretRef": {
|
||||||
|
"name": "nameValue",
|
||||||
|
"namespace": "namespaceValue"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"accessModes": [
|
"accessModes": [
|
||||||
|
Binary file not shown.
@ -93,6 +93,9 @@ spec:
|
|||||||
namespace: namespaceValue
|
namespace: namespaceValue
|
||||||
driver: driverValue
|
driver: driverValue
|
||||||
fsType: fsTypeValue
|
fsType: fsTypeValue
|
||||||
|
nodeExpandSecretRef:
|
||||||
|
name: nameValue
|
||||||
|
namespace: namespaceValue
|
||||||
nodePublishSecretRef:
|
nodePublishSecretRef:
|
||||||
name: nameValue
|
name: nameValue
|
||||||
namespace: namespaceValue
|
namespace: namespaceValue
|
||||||
|
@ -255,6 +255,10 @@
|
|||||||
"controllerExpandSecretRef": {
|
"controllerExpandSecretRef": {
|
||||||
"name": "nameValue",
|
"name": "nameValue",
|
||||||
"namespace": "namespaceValue"
|
"namespace": "namespaceValue"
|
||||||
|
},
|
||||||
|
"nodeExpandSecretRef": {
|
||||||
|
"name": "nameValue",
|
||||||
|
"namespace": "namespaceValue"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"accessModes": [
|
"accessModes": [
|
||||||
|
Binary file not shown.
@ -93,6 +93,9 @@ spec:
|
|||||||
namespace: namespaceValue
|
namespace: namespaceValue
|
||||||
driver: driverValue
|
driver: driverValue
|
||||||
fsType: fsTypeValue
|
fsType: fsTypeValue
|
||||||
|
nodeExpandSecretRef:
|
||||||
|
name: nameValue
|
||||||
|
namespace: namespaceValue
|
||||||
nodePublishSecretRef:
|
nodePublishSecretRef:
|
||||||
name: nameValue
|
name: nameValue
|
||||||
namespace: namespaceValue
|
namespace: namespaceValue
|
||||||
|
@ -30,6 +30,7 @@ type CSIPersistentVolumeSourceApplyConfiguration struct {
|
|||||||
NodeStageSecretRef *SecretReferenceApplyConfiguration `json:"nodeStageSecretRef,omitempty"`
|
NodeStageSecretRef *SecretReferenceApplyConfiguration `json:"nodeStageSecretRef,omitempty"`
|
||||||
NodePublishSecretRef *SecretReferenceApplyConfiguration `json:"nodePublishSecretRef,omitempty"`
|
NodePublishSecretRef *SecretReferenceApplyConfiguration `json:"nodePublishSecretRef,omitempty"`
|
||||||
ControllerExpandSecretRef *SecretReferenceApplyConfiguration `json:"controllerExpandSecretRef,omitempty"`
|
ControllerExpandSecretRef *SecretReferenceApplyConfiguration `json:"controllerExpandSecretRef,omitempty"`
|
||||||
|
NodeExpandSecretRef *SecretReferenceApplyConfiguration `json:"nodeExpandSecretRef,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// CSIPersistentVolumeSourceApplyConfiguration constructs an declarative configuration of the CSIPersistentVolumeSource type for use with
|
// CSIPersistentVolumeSourceApplyConfiguration constructs an declarative configuration of the CSIPersistentVolumeSource type for use with
|
||||||
@ -115,3 +116,11 @@ func (b *CSIPersistentVolumeSourceApplyConfiguration) WithControllerExpandSecret
|
|||||||
b.ControllerExpandSecretRef = value
|
b.ControllerExpandSecretRef = value
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WithNodeExpandSecretRef sets the NodeExpandSecretRef 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 NodeExpandSecretRef field is set to the value of the last call.
|
||||||
|
func (b *CSIPersistentVolumeSourceApplyConfiguration) WithNodeExpandSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration {
|
||||||
|
b.NodeExpandSecretRef = value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
@ -3565,6 +3565,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: fsType
|
- name: fsType
|
||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
|
- name: nodeExpandSecretRef
|
||||||
|
type:
|
||||||
|
namedType: io.k8s.api.core.v1.SecretReference
|
||||||
- name: nodePublishSecretRef
|
- name: nodePublishSecretRef
|
||||||
type:
|
type:
|
||||||
namedType: io.k8s.api.core.v1.SecretReference
|
namedType: io.k8s.api.core.v1.SecretReference
|
||||||
|
Loading…
Reference in New Issue
Block a user