- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 167 for expirationSeconds (0.59 sec)
-
pkg/apis/authentication/validation/validation.go
const min = 10 * time.Minute if tr.Spec.ExpirationSeconds < int64(min.Seconds()) { allErrs = append(allErrs, field.Invalid(specPath.Child("expirationSeconds"), tr.Spec.ExpirationSeconds, "may not specify a duration less than 10 minutes")) } if tr.Spec.ExpirationSeconds > 1<<32 { allErrs = append(allErrs, field.Invalid(specPath.Child("expirationSeconds"), tr.Spec.ExpirationSeconds, "may not specify a duration larger than 2^32 seconds")) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 31 00:32:49 UTC 2018 - 1.4K bytes - Viewed (0) -
pkg/kube/rpc_creds.go
tokenNamespace, tokenServiceAccount string, audiences []string, expirationSeconds int64, ) (*authenticationv1.TokenRequest, error) { return client.Kube().CoreV1().ServiceAccounts(tokenNamespace).CreateToken(ctx, tokenServiceAccount, &authenticationv1.TokenRequest{ Spec: authenticationv1.TokenRequestSpec{ Audiences: audiences, ExpirationSeconds: &expirationSeconds, }, }, metav1.CreateOptions{})
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 4K bytes - Viewed (0) -
pkg/kube/rpc_creds_test.go
t.Status.Token = rand.String(16) return true, t, nil }, ) const ( refreshSeconds = 1 expirationSeconds = 60 sunsetPeriodSeconds = expirationSeconds - refreshSeconds ) perCred, err := NewRPCCredentials(cli, "default", "default", nil, expirationSeconds, sunsetPeriodSeconds) if err != nil { t.Fatal(err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 16 06:24:33 UTC 2022 - 2.4K bytes - Viewed (0) -
pkg/apis/authentication/v1/defaults.go
) func addDefaultingFuncs(scheme *runtime.Scheme) error { return RegisterDefaults(scheme) } func SetDefaults_TokenRequestSpec(obj *authenticationv1.TokenRequestSpec) { if obj.ExpirationSeconds == nil { hour := int64(60 * 60) obj.ExpirationSeconds = &hour }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 18:54:11 UTC 2018 - 944 bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequestspec.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 02 03:38:16 UTC 2021 - 5.7K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequestspec.go
type CertificateSigningRequestSpecApplyConfiguration struct { Request []byte `json:"request,omitempty"` SignerName *string `json:"signerName,omitempty"` ExpirationSeconds *int32 `json:"expirationSeconds,omitempty"` Usages []v1.KeyUsage `json:"usages,omitempty"` Username *string `json:"username,omitempty"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 02 03:38:16 UTC 2021 - 5.6K bytes - Viewed (0) -
pkg/kubelet/token/token_manager.go
if now.After(exp.Add(-1*time.Duration((*tr.Spec.ExpirationSeconds*20)/100)*time.Second - jitter)) { return true } return false } // keys should be nonconfidential and safe to log func keyFunc(name, namespace string, tr *authenticationv1.TokenRequest) string { var exp int64 if tr.Spec.ExpirationSeconds != nil { exp = *tr.Spec.ExpirationSeconds } var ref authenticationv1.BoundObjectReference
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 10 10:20:09 UTC 2021 - 6.1K bytes - Viewed (0) -
staging/src/k8s.io/api/certificates/v1beta1/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 - 5.9K bytes - Viewed (0) -
staging/src/k8s.io/api/certificates/v1beta1/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; // allowedUsages specifies a set of usage contexts the key will be // valid for. // See: // https://tools.ietf.org/html/rfc5280#section-4.2.1.3
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 6.7K bytes - Viewed (0) -
common-protos/k8s.io/api/certificates/v1beta1/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; // allowedUsages specifies a set of usage contexts the key will be // valid for. // See: // https://tools.ietf.org/html/rfc5280#section-4.2.1.3
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 6.7K bytes - Viewed (0)