From 901782e87bf3fdd37055151f8f8cc718c34b3437 Mon Sep 17 00:00:00 2001 From: vitalii-codefresh Date: Mon, 27 Oct 2025 17:08:37 +0200 Subject: [PATCH 1/4] upd cli-v2 , debian for installer (#851) * upd cli-v2 , debian for installer * CI Automatic commit - align Chart version --------- Co-authored-by: cf-ci-bot-v2 --- charts/gitops-runtime/Chart.yaml | 2 +- installer-image/Dockerfile | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/charts/gitops-runtime/Chart.yaml b/charts/gitops-runtime/Chart.yaml index 2fb61735c..a716170ed 100644 --- a/charts/gitops-runtime/Chart.yaml +++ b/charts/gitops-runtime/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: 0.1.75 description: A Helm chart for Codefresh gitops runtime name: gitops-runtime -version: '0.24.5' +version: '0.25.0' home: https://github.com/codefresh-io/gitops-runtime-helm icon: https://avatars1.githubusercontent.com/u/11412079?v=3 keywords: diff --git a/installer-image/Dockerfile b/installer-image/Dockerfile index 8f75bfd0a..c7c612790 100644 --- a/installer-image/Dockerfile +++ b/installer-image/Dockerfile @@ -1,14 +1,13 @@ -FROM golang:1.24.6 AS go-build +FROM golang:1.24.6 AS go-build RUN go install github.com/davidrjonas/semver-cli@latest \ && cp $GOPATH/bin/semver-cli /usr/local/bin/ -#bookworm-slim -FROM debian:12.12-slim +FROM debian:13-slim RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections -ARG CF_CLI_VERSION=v0.2.13 +ARG CF_CLI_VERSION=v0.2.14 ARG TARGETARCH RUN apt-get update && apt-get install curl jq -y @@ -17,6 +16,6 @@ COPY --from=go-build /usr/local/bin/semver-cli /usr/local/bin/semver-cli COPY --from=bitnamilegacy/kubectl:1.33.4 /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/ -RUN adduser --shell /bin/bash codefresh +RUN useradd -m -s /bin/bash codefresh USER codefresh WORKDIR /home/codefresh From 5eba775a64a64a33ec3280e3e5f1ec1a28b0785d Mon Sep 17 00:00:00 2001 From: Patroklos Papapetrou Date: Thu, 30 Oct 2025 12:51:18 +0200 Subject: [PATCH 2/4] bumps argo helm chart to image that fixes validateDestination --- charts/gitops-runtime/Chart.yaml | 2 +- charts/gitops-runtime/README.md | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/charts/gitops-runtime/Chart.yaml b/charts/gitops-runtime/Chart.yaml index a716170ed..0ba8c1cd7 100644 --- a/charts/gitops-runtime/Chart.yaml +++ b/charts/gitops-runtime/Chart.yaml @@ -24,7 +24,7 @@ dependencies: - name: argo-cd repository: https://codefresh-io.github.io/argo-helm condition: argo-cd.enabled - version: 8.0.6-9-cap-v3.0.2-2025-09-08-9b30d922 + version: 8.0.6-14-cap-v3.1.5-2025-10-30-b969c2d8 - name: argo-events repository: https://codefresh-io.github.io/argo-helm version: 2.4.9-cap-CR-30841 diff --git a/charts/gitops-runtime/README.md b/charts/gitops-runtime/README.md index a569d9740..5a96aae8d 100644 --- a/charts/gitops-runtime/README.md +++ b/charts/gitops-runtime/README.md @@ -1,5 +1,5 @@ ## Codefresh gitops runtime -![Version: 0.24.4](https://img.shields.io/badge/Version-0.24.4-informational?style=flat-square) ![AppVersion: 0.1.75](https://img.shields.io/badge/AppVersion-0.1.75-informational?style=flat-square) +![Version: 0.25.0](https://img.shields.io/badge/Version-0.25.0-informational?style=flat-square) ![AppVersion: 0.1.75](https://img.shields.io/badge/AppVersion-0.1.75-informational?style=flat-square) ## Prerequisites @@ -206,7 +206,7 @@ We have created a helper utility to resolve this issue: The utility is packaged in a container image. Below are instructions on executing the utility using Docker: ``` -docker run -v :/output quay.io/codefresh/gitops-runtime-private-registry-utils:0.24.4 +docker run -v :/output quay.io/codefresh/gitops-runtime-private-registry-utils:0.25.0 ``` `output_dir` - is a local directory where the utility will output files.
`local_registry` - is your local registry where you want to mirror the images to @@ -219,7 +219,7 @@ The utility will output 4 files into the folder: For usage with external ArgoCD run the utility with `EXTERNAL_ARGOCD` environment variable set to `true`. ``` -docker run -e EXTERNAL_ARGOCD=true -v :/output quay.io/codefresh/gitops-runtime-private-registry-utils:0.24.4 +docker run -e EXTERNAL_ARGOCD=true -v :/output quay.io/codefresh/gitops-runtime-private-registry-utils:0.25.0 ``` ## Openshift @@ -323,7 +323,7 @@ gitops-operator: | app-proxy.image-enrichment.serviceAccount.name | string | `"codefresh-image-enrichment-sa"` | Name of the service account to create or the name of the existing one to use | | app-proxy.image.pullPolicy | string | `"IfNotPresent"` | | | app-proxy.image.repository | string | `"quay.io/codefresh/cap-app-proxy"` | | -| app-proxy.image.tag | string | `"788a8d5"` | | +| app-proxy.image.tag | string | `"9621fba"` | | | app-proxy.imagePullSecrets | list | `[]` | | | app-proxy.initContainer.command[0] | string | `"./init.sh"` | | | app-proxy.initContainer.env | object | `{}` | | @@ -419,10 +419,10 @@ gitops-operator: | argo-workflows.mainContainer.resources.requests.ephemeral-storage | string | `"10Mi"` | | | argo-workflows.server.authModes | list | `["client"]` | auth-mode needs to be set to client to be able to see workflow logs from Codefresh UI | | argo-workflows.server.baseHref | string | `"/workflows/"` | Do not change. Workflows UI is only accessed through internal router, changing this values will break routing to workflows native UI from Codefresh. | -| cf-argocd-extras | object | `{"eventReporter":{"affinity":{},"container":{"image":{"registry":"quay.io","repository":"codefresh/cf-argocd-extras","tag":"c74d94c"}},"enabled":true,"nodeSelector":{},"pdb":{"enabled":false,"maxUnavailable":"","minAvailable":"50%"},"resources":{"requests":{"cpu":"100m","memory":"128Mi"}},"serviceMonitor":{"main":{"enabled":false}},"tolerations":[]},"sourcesServer":{"affinity":{},"container":{"image":{"registry":"quay.io","repository":"codefresh/cf-argocd-extras","tag":"c74d94c"}},"enabled":true,"hpa":{"enabled":false,"maxReplicas":10,"minReplicas":1,"targetCPUUtilizationPercentage":70},"nodeSelector":{},"pdb":{"enabled":false,"maxUnavailable":"","minAvailable":"50%"},"resources":{"requests":{"cpu":"100m","memory":"128Mi"}},"tolerations":[]}}` | Codefresh extra services for ArgoCD | +| cf-argocd-extras | object | `{"eventReporter":{"affinity":{},"container":{"image":{"registry":"quay.io","repository":"codefresh/cf-argocd-extras","tag":"5a607d5"}},"enabled":true,"nodeSelector":{},"pdb":{"enabled":false,"maxUnavailable":"","minAvailable":"50%"},"resources":{"requests":{"cpu":"100m","memory":"128Mi"}},"serviceMonitor":{"main":{"enabled":false}},"tolerations":[]},"sourcesServer":{"affinity":{},"container":{"image":{"registry":"quay.io","repository":"codefresh/cf-argocd-extras","tag":"5a607d5"}},"enabled":true,"hpa":{"enabled":false,"maxReplicas":10,"minReplicas":1,"targetCPUUtilizationPercentage":70},"nodeSelector":{},"pdb":{"enabled":false,"maxUnavailable":"","minAvailable":"50%"},"resources":{"requests":{"cpu":"100m","memory":"128Mi"}},"tolerations":[]}}` | Codefresh extra services for ArgoCD | | cf-argocd-extras.eventReporter.pdb.enabled | bool | `false` | Enable PDB for event-reporter | | cf-argocd-extras.eventReporter.serviceMonitor.main.enabled | bool | `false` | Enable ServiceMonitor for event reporter | -| cf-argocd-extras.sourcesServer | object | `{"affinity":{},"container":{"image":{"registry":"quay.io","repository":"codefresh/cf-argocd-extras","tag":"c74d94c"}},"enabled":true,"hpa":{"enabled":false,"maxReplicas":10,"minReplicas":1,"targetCPUUtilizationPercentage":70},"nodeSelector":{},"pdb":{"enabled":false,"maxUnavailable":"","minAvailable":"50%"},"resources":{"requests":{"cpu":"100m","memory":"128Mi"}},"tolerations":[]}` | Sources server configuration | +| cf-argocd-extras.sourcesServer | object | `{"affinity":{},"container":{"image":{"registry":"quay.io","repository":"codefresh/cf-argocd-extras","tag":"5a607d5"}},"enabled":true,"hpa":{"enabled":false,"maxReplicas":10,"minReplicas":1,"targetCPUUtilizationPercentage":70},"nodeSelector":{},"pdb":{"enabled":false,"maxUnavailable":"","minAvailable":"50%"},"resources":{"requests":{"cpu":"100m","memory":"128Mi"}},"tolerations":[]}` | Sources server configuration | | cf-argocd-extras.sourcesServer.hpa.enabled | bool | `false` | Enable HPA for sources server | | cf-argocd-extras.sourcesServer.pdb.enabled | bool | `false` | Enable PDB for sources server | | codefreshWorkflowLogStoreCM | object | `{"enabled":true,"endpoint":"gitops-workflow-logs.codefresh.io","insecure":false}` | Argo workflows logs storage on Codefresh platform settings. Don't change unless instructed by Codefresh support. | From ffa5ce486441eab6a1284a0ccfbf087f944c98d6 Mon Sep 17 00:00:00 2001 From: Patroklos Papapetrou Date: Thu, 30 Oct 2025 14:14:48 +0200 Subject: [PATCH 3/4] bumps argo helm chart to image that fixes validateDestination --- charts/gitops-runtime/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/gitops-runtime/Chart.yaml b/charts/gitops-runtime/Chart.yaml index 0ba8c1cd7..21ffcccda 100644 --- a/charts/gitops-runtime/Chart.yaml +++ b/charts/gitops-runtime/Chart.yaml @@ -47,4 +47,4 @@ dependencies: condition: tunnel-client.enabled - name: cf-common repository: oci://quay.io/codefresh/charts - version: 0.27.0 + version: 0.27.0 \ No newline at end of file From 1d6129a5a79d65c7744cf6eda6fc230db0a8a5da Mon Sep 17 00:00:00 2001 From: Patroklos Papapetrou Date: Thu, 30 Oct 2025 14:15:03 +0200 Subject: [PATCH 4/4] bumps argo helm chart to image that fixes validateDestination --- charts/gitops-runtime/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/gitops-runtime/Chart.yaml b/charts/gitops-runtime/Chart.yaml index 21ffcccda..0ba8c1cd7 100644 --- a/charts/gitops-runtime/Chart.yaml +++ b/charts/gitops-runtime/Chart.yaml @@ -47,4 +47,4 @@ dependencies: condition: tunnel-client.enabled - name: cf-common repository: oci://quay.io/codefresh/charts - version: 0.27.0 \ No newline at end of file + version: 0.27.0