- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 109 for expirationSeconds (0.3 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/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) -
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/storage/validation/validation.go
} audiences[audience] = true if tokenRequest.ExpirationSeconds == nil { continue } if *tokenRequest.ExpirationSeconds < int64(min.Seconds()) { allErrs = append(allErrs, field.Invalid(path.Child("expirationSeconds"), *tokenRequest.ExpirationSeconds, "may not specify a duration less than 10 minutes")) } if *tokenRequest.ExpirationSeconds > 1<<32 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 00:47:13 UTC 2024 - 25.5K bytes - Viewed (0) -
staging/src/k8s.io/api/certificates/v1/types_swagger_doc_generated.go
"expirationSeconds": "expirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a client must check the delta between the notBefore and and notAfter fields in the...
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 22 00:51:25 UTC 2023 - 10.9K bytes - Viewed (0) -
common-protos/k8s.io/api/certificates/v1/generated.proto
// 3. Signer whose configured minimum is longer than the requested duration // // The minimum valid value for expirationSeconds is 600, i.e. 10 minutes. // // +optional optional int32 expirationSeconds = 8; // usages specifies a set of key usages requested in the issued certificate. //
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 11.6K bytes - Viewed (0)