- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 114 for expirationSeconds (0.4 sec)
-
pkg/registry/certificates/certificates/storage/metrics_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 14:34:53 UTC 2024 - 13.7K bytes - Viewed (0) -
pkg/kubelet/token/token_manager_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 04 00:16:47 UTC 2022 - 16.2K bytes - Viewed (0) -
pkg/controller/certificates/signer/signer.go
} func (s *signer) duration(expirationSeconds *int32) time.Duration { if expirationSeconds == nil { return s.certTTL } // honor requested duration is if it is less than the default TTL // use 10 min (2x hard coded backdate above) as a sanity check lower bound const min = 10 * time.Minute switch requestedDuration := csr.ExpirationSecondsToDuration(*expirationSeconds); { case requestedDuration > s.certTTL:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 15 03:26:08 UTC 2023 - 10.3K bytes - Viewed (0) -
staging/src/k8s.io/api/certificates/v1beta1/types.go
// 3. Signer whose configured minimum is longer than the requested duration // // The minimum valid value for expirationSeconds is 600, i.e. 10 minutes. // // +optional ExpirationSeconds *int32 `json:"expirationSeconds,omitempty" protobuf:"varint,8,opt,name=expirationSeconds"` // allowedUsages specifies a set of usage contexts the key will be // valid for. // See:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 10.4K bytes - Viewed (0) -
pkg/controller/certificates/signer/signer_test.go
t.Parallel() tests := []struct { name string certTTL time.Duration expirationSeconds *int32 want time.Duration }{ { name: "can request shorter duration than TTL", certTTL: time.Hour, expirationSeconds: csr.DurationToExpirationSeconds(30 * time.Minute), want: 30 * time.Minute, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 02 21:12:04 UTC 2022 - 15K bytes - Viewed (0) -
pkg/registry/core/serviceaccount/storage/token.go
} } if r.maxExpirationSeconds > 0 && req.Spec.ExpirationSeconds > r.maxExpirationSeconds { //only positive value is valid warning.AddWarning(ctx, "", fmt.Sprintf("requested expiration of %d seconds shortened to %d seconds", req.Spec.ExpirationSeconds, r.maxExpirationSeconds)) req.Spec.ExpirationSeconds = r.maxExpirationSeconds }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 05 10:24:31 UTC 2024 - 10K bytes - Viewed (0) -
staging/src/k8s.io/api/authentication/v1/types.go
// ExpirationSeconds is the requested duration of validity of the request. The // token issuer may return a token with a different validity duration so a // client needs to check the 'expiration' field in a response. // +optional ExpirationSeconds *int64 `json:"expirationSeconds" protobuf:"varint,4,opt,name=expirationSeconds"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 10K bytes - Viewed (0) -
pkg/apis/certificates/v1/zz_generated.conversion.go
out.Request = *(*[]byte)(unsafe.Pointer(&in.Request)) out.SignerName = in.SignerName out.ExpirationSeconds = (*int32)(unsafe.Pointer(in.ExpirationSeconds)) out.Usages = *(*[]certificates.KeyUsage)(unsafe.Pointer(&in.Usages)) out.Username = in.Username out.UID = in.UID out.Groups = *(*[]string)(unsafe.Pointer(&in.Groups))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 14.4K bytes - Viewed (0) -
staging/src/k8s.io/api/certificates/v1/types.go
// 3. Signer whose configured minimum is longer than the requested duration // // The minimum valid value for expirationSeconds is 600, i.e. 10 minutes. // // +optional ExpirationSeconds *int32 `json:"expirationSeconds,omitempty" protobuf:"varint,8,opt,name=expirationSeconds"` // usages specifies a set of key usages requested in the issued certificate. //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 15.6K bytes - Viewed (0) -
pkg/apis/certificates/v1beta1/zz_generated.conversion.go
out.Request = *(*[]byte)(unsafe.Pointer(&in.Request)) if err := metav1.Convert_Pointer_string_To_string(&in.SignerName, &out.SignerName, s); err != nil { return err } out.ExpirationSeconds = (*int32)(unsafe.Pointer(in.ExpirationSeconds)) out.Usages = *(*[]certificates.KeyUsage)(unsafe.Pointer(&in.Usages)) out.Username = in.Username out.UID = in.UID out.Groups = *(*[]string)(unsafe.Pointer(&in.Groups))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 15.6K bytes - Viewed (0)