From f90c8a8c30382cb3fe837c795e2827b7636f8ef4 Mon Sep 17 00:00:00 2001 From: mikhail-klimko Date: Fri, 10 May 2024 10:39:05 +0300 Subject: [PATCH 1/2] fix(onprem): resources overrides for agentless runtime --- charts/cf-runtime/Chart.yaml | 8 +++----- .../templates/runtime/runtime-env-spec-tmpl.yaml | 3 +++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/charts/cf-runtime/Chart.yaml b/charts/cf-runtime/Chart.yaml index f6dabd32..597b270d 100644 --- a/charts/cf-runtime/Chart.yaml +++ b/charts/cf-runtime/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: A Helm chart for Codefresh Runner name: cf-runtime -version: 6.3.22 +version: 6.3.23 keywords: - codefresh - runner @@ -17,10 +17,8 @@ annotations: # artifacthub.io/containsSecurityUpdates: "true" # Supported kinds: `added`, `changed`, `deprecated`, `removed`, `fixed`, `security`: artifacthub.io/changes: | - - kind: changed - description: Remove extra space in sidecar container (reconcile-runtime) command for runner deployment - - kind: changed - description: Remove extra space in container commands for jobs (gencerts-dind/cleanup) + - kind: fixed + description: Fix resource requests and limits overrides for agentless runtime dependencies: - name: cf-common repository: oci://quay.io/codefresh/charts diff --git a/charts/cf-runtime/templates/runtime/runtime-env-spec-tmpl.yaml b/charts/cf-runtime/templates/runtime/runtime-env-spec-tmpl.yaml index 4cac962c..628d6fec 100644 --- a/charts/cf-runtime/templates/runtime/runtime-env-spec-tmpl.yaml +++ b/charts/cf-runtime/templates/runtime/runtime-env-spec-tmpl.yaml @@ -178,4 +178,7 @@ appProxy: externalIP: >- {{ printf "https://%s%s" .Values.appProxy.ingress.host .Values.appProxy.ingress.pathPrefix }} {{- end }} +{{- if not .Values.runtime.agent }} +systemHybrid: true +{{- end }} {{- end }} \ No newline at end of file From 7a23aefb58f2da5cf46b0f81b5455e509af78a3d Mon Sep 17 00:00:00 2001 From: mikhail-klimko Date: Fri, 10 May 2024 10:39:58 +0300 Subject: [PATCH 2/2] helm-docs --- charts/cf-runtime/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/cf-runtime/README.md b/charts/cf-runtime/README.md index cd8c7331..f986fab6 100644 --- a/charts/cf-runtime/README.md +++ b/charts/cf-runtime/README.md @@ -1,6 +1,6 @@ ## Codefresh Runner -![Version: 6.3.22](https://img.shields.io/badge/Version-6.3.22-informational?style=flat-square) +![Version: 6.3.23](https://img.shields.io/badge/Version-6.3.23-informational?style=flat-square) Helm chart for deploying [Codefresh Runner](https://codefresh.io/docs/docs/installation/codefresh-runner/) to Kubernetes.