From 15e5114a51c7bad875bb89bbd74011f6e833c885 Mon Sep 17 00:00:00 2001 From: Alay Patel Date: Sun, 11 Oct 2020 02:51:37 -0400 Subject: [PATCH] update violation_exceptions.list and make generated Kubernetes-commit: 38bb53555e8b48ffa70d3dd84c00eb7eac35e77a --- config/v1alpha1/types.go | 12 ++++++++++++ config/v1alpha1/zz_generated.deepcopy.go | 17 +++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/config/v1alpha1/types.go b/config/v1alpha1/types.go index ce3c2db..568339a 100644 --- a/config/v1alpha1/types.go +++ b/config/v1alpha1/types.go @@ -126,6 +126,10 @@ type KubeControllerManagerConfiguration struct { HPAController HPAControllerConfiguration // JobControllerConfiguration holds configuration for JobController related features. JobController JobControllerConfiguration + // CronJobControllerConfiguration holds configuration for CronJobController related features. + CronJobController CronJobControllerConfiguration + // NamespaceControllerConfiguration holds configuration for NamespaceController + // related features. // NamespaceControllerConfiguration holds configuration for NamespaceController // related features. NamespaceController NamespaceControllerConfiguration @@ -346,6 +350,14 @@ type JobControllerConfiguration struct { ConcurrentJobSyncs int32 } +// CronJobControllerConfiguration contains elements describing CrongJob2Controller. +type CronJobControllerConfiguration struct { + // concurrentCronJobSyncs is the number of job objects that are + // allowed to sync concurrently. Larger number = more responsive jobs, + // but more CPU (and network) load. + ConcurrentCronJobSyncs int32 +} + // NamespaceControllerConfiguration contains elements describing NamespaceController. type NamespaceControllerConfiguration struct { // namespaceSyncPeriod is the period for syncing namespace life-cycle diff --git a/config/v1alpha1/zz_generated.deepcopy.go b/config/v1alpha1/zz_generated.deepcopy.go index 96e948f..a608102 100644 --- a/config/v1alpha1/zz_generated.deepcopy.go +++ b/config/v1alpha1/zz_generated.deepcopy.go @@ -78,6 +78,22 @@ func (in *CSRSigningControllerConfiguration) DeepCopy() *CSRSigningControllerCon return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CronJobControllerConfiguration) DeepCopyInto(out *CronJobControllerConfiguration) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobControllerConfiguration. +func (in *CronJobControllerConfiguration) DeepCopy() *CronJobControllerConfiguration { + if in == nil { + return nil + } + out := new(CronJobControllerConfiguration) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DaemonSetControllerConfiguration) DeepCopyInto(out *DaemonSetControllerConfiguration) { *out = *in @@ -281,6 +297,7 @@ func (in *KubeControllerManagerConfiguration) DeepCopyInto(out *KubeControllerMa in.GarbageCollectorController.DeepCopyInto(&out.GarbageCollectorController) in.HPAController.DeepCopyInto(&out.HPAController) out.JobController = in.JobController + out.CronJobController = in.CronJobController out.NamespaceController = in.NamespaceController out.NodeIPAMController = in.NodeIPAMController in.NodeLifecycleController.DeepCopyInto(&out.NodeLifecycleController)