- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for CleanUpPeriod (0.17 sec)
-
cmd/kube-controller-manager/app/options/legacyserviceaccounttokencleaner.go
func (o *LegacySATokenCleanerOptions) AddFlags(fs *pflag.FlagSet) { if o == nil { return } fs.DurationVar(&o.CleanUpPeriod.Duration, "legacy-service-account-token-clean-up-period", o.CleanUpPeriod.Duration, "The period of time since the last usage of an legacy service account token before it can be deleted.") } // ApplyTo fills up LegacySATokenCleaner config with options.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 24 23:20:17 UTC 2023 - 1.7K bytes - Viewed (0) -
pkg/controller/serviceaccount/config/v1alpha1/zz_generated.conversion.go
out.CleanUpPeriod = in.CleanUpPeriod return nil } func autoConvert_config_LegacySATokenCleanerConfiguration_To_v1alpha1_LegacySATokenCleanerConfiguration(in *config.LegacySATokenCleanerConfiguration, out *v1alpha1.LegacySATokenCleanerConfiguration, s conversion.Scope) error { out.CleanUpPeriod = in.CleanUpPeriod return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 24 23:20:17 UTC 2023 - 5.6K bytes - Viewed (0) -
pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner_test.go
), }, }, "auto-generated secret has 'last-used' label, the time period since last-used is larger than CleanUpPeriod, secret has been marked as invalid, time peroid since invalid is less than CleanUpPeriod": { ExistingSecret: configuredServiceAccountTokenSecret("2022-12-27", "2023-05-01", "2022-12-27", "default", "12345", ""),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 03:52:06 UTC 2023 - 21.1K bytes - Viewed (0) -
pkg/controller/serviceaccount/config/types.go
// account's token secret. This must be a valid PEM-encoded CA bundle. RootCAFile string } type LegacySATokenCleanerConfiguration struct { // CleanUpPeriod is the period of time since the last usage of an // auto-generated service account token before it can be deleted. CleanUpPeriod metav1.Duration
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 24 23:20:17 UTC 2023 - 1.4K bytes - Viewed (0) -
pkg/controller/serviceaccount/config/v1alpha1/defaults.go
obj.ConcurrentSATokenSyncs = 5 } } func RecommendedDefaultLegacySATokenCleanerConfiguration(obj *kubectrlmgrconfigv1alpha1.LegacySATokenCleanerConfiguration) { zero := metav1.Duration{} if obj.CleanUpPeriod == zero { obj.CleanUpPeriod = metav1.Duration{Duration: 365 * 24 * time.Hour} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 24 23:20:17 UTC 2023 - 1.8K bytes - Viewed (0) -
pkg/controller/serviceaccount/config/zz_generated.deepcopy.go
func (in *LegacySATokenCleanerConfiguration) DeepCopyInto(out *LegacySATokenCleanerConfiguration) { *out = *in out.CleanUpPeriod = in.CleanUpPeriod return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LegacySATokenCleanerConfiguration.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 24 23:20:17 UTC 2023 - 1.8K bytes - Viewed (0) -
pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner.go
if !(options.CleanUpPeriod > 0) { return nil, fmt.Errorf("invalid CleanUpPeriod: %v", options.CleanUpPeriod) } if !(options.SyncInterval > 0) { return nil, fmt.Errorf("invalid SyncInterval: %v", options.SyncInterval) } tc := &LegacySATokenCleaner{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 03:52:06 UTC 2023 - 10K bytes - Viewed (0) -
cmd/kube-controller-manager/app/core.go
} } func startLegacyServiceAccountTokenCleanerController(ctx context.Context, controllerContext ControllerContext, controllerName string) (controller.Interface, bool, error) { cleanUpPeriod := controllerContext.ComponentConfig.LegacySATokenCleaner.CleanUpPeriod.Duration legacySATokenCleaner, err := serviceaccountcontroller.NewLegacySATokenCleaner( controllerContext.InformerFactory.Core().V1().ServiceAccounts(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 39K bytes - Viewed (0) -
cmd/kube-controller-manager/app/options/options_test.go
ConcurrentSATokenSyncs: 10, }, }, LegacySATokenCleaner: &LegacySATokenCleanerOptions{ &serviceaccountconfig.LegacySATokenCleanerConfiguration{ CleanUpPeriod: metav1.Duration{Duration: 365 * 24 * time.Hour}, }, }, TTLAfterFinishedController: &TTLAfterFinishedControllerOptions{ &ttlafterfinishedconfig.TTLAfterFinishedControllerConfiguration{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 02:59:09 UTC 2024 - 55.1K bytes - Viewed (0) -
api/api-rules/violation_exceptions.list
API rule violation: names_match,k8s.io/kube-controller-manager/config/v1alpha1,LegacySATokenCleanerConfiguration,CleanUpPeriod API rule violation: names_match,k8s.io/kube-controller-manager/config/v1alpha1,NamespaceControllerConfiguration,ConcurrentNamespaceSyncs
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 02:59:09 UTC 2024 - 29.9K bytes - Viewed (0)