From b4daf00079f8678f5c32d48018badef22cc634a3 Mon Sep 17 00:00:00 2001 From: Ray Terrill Date: Thu, 16 Oct 2025 11:11:17 -0700 Subject: [PATCH 1/3] Add support for REMOVE_LIMITS in helm chart --- charts/kube-startup-cpu-boost/templates/deployment.yaml | 2 ++ charts/kube-startup-cpu-boost/values.yaml | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/charts/kube-startup-cpu-boost/templates/deployment.yaml b/charts/kube-startup-cpu-boost/templates/deployment.yaml index da4524d..d346576 100644 --- a/charts/kube-startup-cpu-boost/templates/deployment.yaml +++ b/charts/kube-startup-cpu-boost/templates/deployment.yaml @@ -46,6 +46,8 @@ spec: fieldPath: metadata.namespace - name: LEADER_ELECTION value: {{ quote .Values.controllerManager.manager.env.leaderElection }} + - name: REMOVE_LIMITS + value: {{ quote .Values.controllerManager.manager.env.removeLimits }} - name: KUBERNETES_CLUSTER_DOMAIN value: {{ quote .Values.kubernetesClusterDomain }} image: {{ .Values.controllerManager.manager.image.repository }}:{{ .Values.controllerManager.manager.image.tag diff --git a/charts/kube-startup-cpu-boost/values.yaml b/charts/kube-startup-cpu-boost/values.yaml index 836c758..21af477 100644 --- a/charts/kube-startup-cpu-boost/values.yaml +++ b/charts/kube-startup-cpu-boost/values.yaml @@ -4,11 +4,12 @@ controllerManager: allowPrivilegeEscalation: false capabilities: drop: - - ALL + - ALL seccompProfile: type: RuntimeDefault env: leaderElection: "true" + removeLimits: "false" image: repository: ghcr.io/google/kube-startup-cpu-boost tag: v0.17.1 #x-release-please-version @@ -27,7 +28,7 @@ controllerManager: kubernetesClusterDomain: cluster.local webhookService: ports: - - port: 443 - protocol: TCP - targetPort: 9443 + - port: 443 + protocol: TCP + targetPort: 9443 type: ClusterIP From 2c246c85db6e01e55b15ff13b1d5adb24a6ee02a Mon Sep 17 00:00:00 2001 From: Ray Terrill Date: Thu, 16 Oct 2025 11:13:54 -0700 Subject: [PATCH 2/3] fix spacing --- charts/kube-startup-cpu-boost/values.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/kube-startup-cpu-boost/values.yaml b/charts/kube-startup-cpu-boost/values.yaml index 21af477..4c528ad 100644 --- a/charts/kube-startup-cpu-boost/values.yaml +++ b/charts/kube-startup-cpu-boost/values.yaml @@ -28,7 +28,7 @@ controllerManager: kubernetesClusterDomain: cluster.local webhookService: ports: - - port: 443 - protocol: TCP - targetPort: 9443 + - port: 443 + protocol: TCP + targetPort: 9443 type: ClusterIP From 5684e46eac91f670dcedacd9de3ab54b4067a6d9 Mon Sep 17 00:00:00 2001 From: Ray Terrill Date: Thu, 16 Oct 2025 11:14:24 -0700 Subject: [PATCH 3/3] fix spacing --- charts/kube-startup-cpu-boost/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/kube-startup-cpu-boost/values.yaml b/charts/kube-startup-cpu-boost/values.yaml index 4c528ad..dafe44d 100644 --- a/charts/kube-startup-cpu-boost/values.yaml +++ b/charts/kube-startup-cpu-boost/values.yaml @@ -4,7 +4,7 @@ controllerManager: allowPrivilegeEscalation: false capabilities: drop: - - ALL + - ALL seccompProfile: type: RuntimeDefault env: