rebase: update kubernetes and libraries to v1.22.0 version

Kubernetes v1.22 version has been released and this update
ceph csi dependencies to use the same version.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal
2021-08-09 12:49:24 +05:30
committed by mergify[bot]
parent e077c1fdf5
commit aa698bc3e1
759 changed files with 61864 additions and 6514 deletions

View File

@ -25,13 +25,14 @@ import (
// CertificateSigningRequestSpecApplyConfiguration represents an declarative configuration of the CertificateSigningRequestSpec type for use
// with apply.
type CertificateSigningRequestSpecApplyConfiguration struct {
Request []byte `json:"request,omitempty"`
SignerName *string `json:"signerName,omitempty"`
Usages []v1beta1.KeyUsage `json:"usages,omitempty"`
Username *string `json:"username,omitempty"`
UID *string `json:"uid,omitempty"`
Groups []string `json:"groups,omitempty"`
Extra map[string]v1beta1.ExtraValue `json:"extra,omitempty"`
Request []byte `json:"request,omitempty"`
SignerName *string `json:"signerName,omitempty"`
ExpirationSeconds *int32 `json:"expirationSeconds,omitempty"`
Usages []v1beta1.KeyUsage `json:"usages,omitempty"`
Username *string `json:"username,omitempty"`
UID *string `json:"uid,omitempty"`
Groups []string `json:"groups,omitempty"`
Extra map[string]v1beta1.ExtraValue `json:"extra,omitempty"`
}
// CertificateSigningRequestSpecApplyConfiguration constructs an declarative configuration of the CertificateSigningRequestSpec type for use with
@ -58,6 +59,14 @@ func (b *CertificateSigningRequestSpecApplyConfiguration) WithSignerName(value s
return b
}
// WithExpirationSeconds sets the ExpirationSeconds 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 ExpirationSeconds field is set to the value of the last call.
func (b *CertificateSigningRequestSpecApplyConfiguration) WithExpirationSeconds(value int32) *CertificateSigningRequestSpecApplyConfiguration {
b.ExpirationSeconds = &value
return b
}
// WithUsages adds the given value to the Usages field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the Usages field.