mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
api changes
This commit is contained in:
parent
b4fb4c7a58
commit
8b09d4e8b6
@ -1638,6 +1638,30 @@ type CSIPersistentVolumeSource struct {
|
|||||||
// Attributes of the volume to publish.
|
// Attributes of the volume to publish.
|
||||||
// +optional
|
// +optional
|
||||||
VolumeAttributes map[string]string
|
VolumeAttributes map[string]string
|
||||||
|
|
||||||
|
// 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.
|
||||||
|
// +optional
|
||||||
|
ControllerPublishSecretRef *SecretReference
|
||||||
|
|
||||||
|
// 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.
|
||||||
|
// +optional
|
||||||
|
NodeStageSecretRef *SecretReference
|
||||||
|
|
||||||
|
// 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.
|
||||||
|
// +optional
|
||||||
|
NodePublishSecretRef *SecretReference
|
||||||
}
|
}
|
||||||
|
|
||||||
// ContainerPort represents a network port in a single container
|
// ContainerPort represents a network port in a single container
|
||||||
|
@ -1753,6 +1753,30 @@ type CSIPersistentVolumeSource struct {
|
|||||||
// Attributes of the volume to publish.
|
// Attributes of the volume to publish.
|
||||||
// +optional
|
// +optional
|
||||||
VolumeAttributes map[string]string `json:"volumeAttributes,omitempty" protobuf:"bytes,5,rep,name=volumeAttributes"`
|
VolumeAttributes map[string]string `json:"volumeAttributes,omitempty" protobuf:"bytes,5,rep,name=volumeAttributes"`
|
||||||
|
|
||||||
|
// 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.
|
||||||
|
// +optional
|
||||||
|
ControllerPublishSecretRef *SecretReference `json:"controllerPublishSecretRef,omitempty" protobuf:"bytes,6,opt,name=controllerPublishSecretRef"`
|
||||||
|
|
||||||
|
// 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.
|
||||||
|
// +optional
|
||||||
|
NodeStageSecretRef *SecretReference `json:"nodeStageSecretRef,omitempty" protobuf:"bytes,7,opt,name=nodeStageSecretRef"`
|
||||||
|
|
||||||
|
// 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.
|
||||||
|
// +optional
|
||||||
|
NodePublishSecretRef *SecretReference `json:"nodePublishSecretRef,omitempty" protobuf:"bytes,8,opt,name=nodePublishSecretRef"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// ContainerPort represents a network port in a single container.
|
// ContainerPort represents a network port in a single container.
|
||||||
|
Loading…
Reference in New Issue
Block a user