mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update buildkit to 8effd45b
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
52
vendor/k8s.io/api/storage/v1beta1/generated.proto
generated
vendored
52
vendor/k8s.io/api/storage/v1beta1/generated.proto
generated
vendored
@ -17,7 +17,7 @@ limitations under the License.
|
||||
|
||||
// This file was autogenerated by go-to-protobuf. Do not edit it manually!
|
||||
|
||||
syntax = 'proto2';
|
||||
syntax = "proto2";
|
||||
|
||||
package k8s.io.api.storage.v1beta1;
|
||||
|
||||
@ -147,6 +147,43 @@ message CSIDriverSpec {
|
||||
// that enable the CSIVolumeFSGroupPolicy feature gate.
|
||||
// +optional
|
||||
optional string fsGroupPolicy = 5;
|
||||
|
||||
// TokenRequests indicates the CSI driver needs pods' service account
|
||||
// tokens it is mounting volume for to do necessary authentication. Kubelet
|
||||
// will pass the tokens in VolumeContext in the CSI NodePublishVolume calls.
|
||||
// The CSI driver should parse and validate the following VolumeContext:
|
||||
// "csi.storage.k8s.io/serviceAccount.tokens": {
|
||||
// "<audience>": {
|
||||
// "token": <token>,
|
||||
// "expirationTimestamp": <expiration timestamp in RFC3339>,
|
||||
// },
|
||||
// ...
|
||||
// }
|
||||
//
|
||||
// Note: Audience in each TokenRequest should be different and at
|
||||
// most one token is empty string. To receive a new token after expiry,
|
||||
// RequiresRepublish can be used to trigger NodePublishVolume periodically.
|
||||
//
|
||||
// This is an alpha feature and only available when the
|
||||
// CSIServiceAccountToken feature is enabled.
|
||||
//
|
||||
// +optional
|
||||
// +listType=atomic
|
||||
repeated TokenRequest tokenRequests = 6;
|
||||
|
||||
// RequiresRepublish indicates the CSI driver wants `NodePublishVolume`
|
||||
// being periodically called to reflect any possible change in the mounted
|
||||
// volume. This field defaults to false.
|
||||
//
|
||||
// Note: After a successful initial NodePublishVolume call, subsequent calls
|
||||
// to NodePublishVolume should only update the contents of the volume. New
|
||||
// mount points will not be seen by a running container.
|
||||
//
|
||||
// This is an alpha feature and only available when the
|
||||
// CSIServiceAccountToken feature is enabled.
|
||||
//
|
||||
// +optional
|
||||
optional bool requiresRepublish = 7;
|
||||
}
|
||||
|
||||
// DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode.
|
||||
@ -283,6 +320,19 @@ message StorageClassList {
|
||||
repeated StorageClass items = 2;
|
||||
}
|
||||
|
||||
// TokenRequest contains parameters of a service account token.
|
||||
message TokenRequest {
|
||||
// Audience is the intended audience of the token in "TokenRequestSpec".
|
||||
// It will default to the audiences of kube apiserver.
|
||||
optional string audience = 1;
|
||||
|
||||
// ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec".
|
||||
// It has the same default value of "ExpirationSeconds" in "TokenRequestSpec"
|
||||
//
|
||||
// +optional
|
||||
optional int64 expirationSeconds = 2;
|
||||
}
|
||||
|
||||
// VolumeAttachment captures the intent to attach or detach the specified volume
|
||||
// to/from the specified node.
|
||||
//
|
||||
|
Reference in New Issue
Block a user