Skip to content

Commit 6bc2bcb

Browse files
chore: fix various security vulnerabilities in argo-cd, argo-workflows, cap-app-proxy, cf-argocd-extras, codefresh-gitops-operator, gitops-runtime-installer (#1206)
* chore: fix various security vulnerabilities in argo-workflows, cap-app-proxy, cf-argocd-extras, codefresh-gitops-operator, gitops-runtime-installer * update argocd to v3.3.10 * update Chart.yaml
1 parent b51ac1d commit 6bc2bcb

3 files changed

Lines changed: 14 additions & 9 deletions

File tree

charts/gitops-runtime/Chart.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@ annotations:
1919
- kind: fixed
2020
description: 'cap-app-proxy: support arbitrary user IDs for OpenShift'
2121
dependencies:
22+
# The image for this chart was overridden because argocd doesn’t release the chart for 3.3.10 version.
23+
# Don't forget to remove the image override after updating to a new version of the chart.
2224
- name: argo-cd
2325
repository: https://argoproj.github.io/argo-helm
2426
condition: argo-cd.enabled
2527
version: 9.5.11
2628
- name: argo-workflows
2729
repository: https://codefresh-io.github.io/argo-helm
28-
version: 0.45.21-v3.6.7-cap-CR-38757
30+
version: 0.45.22-v3.6.7-cap-CR-39681
2931
condition: argo-workflows.enabled
3032
- name: sealed-secrets
3133
repository: https://bitnami-labs.github.io/sealed-secrets/

charts/gitops-runtime/values.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ global:
136136
image:
137137
registry: quay.io
138138
repository: codefresh/cf-argocd-extras
139-
tag: "06801ec"
139+
tag: "7d96f83"
140140
nodeSelector: {}
141141
tolerations: []
142142
affinity: {}
@@ -258,6 +258,9 @@ sealed-secrets:
258258
argo-cd:
259259
enabled: true
260260
fullnameOverride: argo-cd
261+
global:
262+
image:
263+
tag: v3.3.10
261264
notifications:
262265
enabled: false
263266
redis:
@@ -459,14 +462,14 @@ app-proxy:
459462
tag: 1.1.27-main
460463
image:
461464
repository: quay.io/codefresh/cap-app-proxy
462-
tag: 1.4092.0
465+
tag: 1.4093.0
463466
pullPolicy: IfNotPresent
464467
# -- Extra volume mounts for main container
465468
extraVolumeMounts: []
466469
initContainer:
467470
image:
468471
repository: quay.io/codefresh/cap-app-proxy-init
469-
tag: 1.4092.0
472+
tag: 1.4093.0
470473
pullPolicy: IfNotPresent
471474
command:
472475
- ./init.sh
@@ -647,7 +650,7 @@ gitops-operator:
647650
image:
648651
registry: quay.io
649652
repository: codefresh/codefresh-gitops-operator
650-
tag: bc5c4eb
653+
tag: 79a7f3b
651654
env:
652655
!!merge <<:
653656
- *otel-config
@@ -679,7 +682,7 @@ argo-gateway:
679682
image:
680683
registry: quay.io
681684
repository: codefresh/cf-argocd-extras
682-
tag: "06801ec"
685+
tag: "7d96f83"
683686
nodeSelector: {}
684687
tolerations: []
685688
affinity: {}

installer-image/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# syntax=docker/dockerfile:1
22

33
# DHI source: https://hub.docker.com/repository/docker/octopusdeploy/dhi-golang/tags/1.25-debian13-dev
4-
FROM octopusdeploy/dhi-golang:1.25-debian13-dev@sha256:b2c03c829a4df4f724712501d18321e46a2ac770377f0b6e2f383bc9d02b99d3 AS build
4+
FROM octopusdeploy/dhi-golang:1.25-debian13-dev@sha256:6ab2431d046a2e21dbcbcb5111e94bec59650d302ec0ac34e696e7e44f708044 AS build
55
ARG TARGETARCH
6-
ARG CF_CLI_VERSION=v1.0.2
6+
ARG CF_CLI_VERSION=v1.0.3
77
RUN go install github.com/davidrjonas/semver-cli@latest \
88
&& cp $GOPATH/bin/semver-cli /tmp/semver-cli
99
RUN apt-get update && apt-get install -y --no-install-recommends sed && rm -rf /var/lib/apt/lists/*
1010
ADD --unpack=true --chown=nonroot:nonroot --chmod=755 https://github.com/codefresh-io/cli-v2/releases/download/${CF_CLI_VERSION}/cf-linux-${TARGETARCH}.tar.gz /tmp/cf/
1111

1212

1313
# DHI source: https://hub.docker.com/repository/docker/octopusdeploy/dhi-debian-base/customizations/8106437942896324135
14-
FROM octopusdeploy/dhi-debian-base:trixie_cf-gitops-runtime-installer-debian13@sha256:ab35aedc53ad95d3a95094d6f2c9d052c2cdb43b605ce1f9a4ea677911373b99 AS production
14+
FROM octopusdeploy/dhi-debian-base:trixie_cf-gitops-runtime-installer-debian13@sha256:3c5a8f5bf49a3777527797677b3c8c426b0a38a466f3a79f5e059b6adc21943d AS production
1515
ARG TARGETARCH
1616
COPY --from=build --chown=nonroot:nonroot --chmod=755 /tmp/cf/cf-linux-${TARGETARCH} /usr/local/bin/cf
1717
COPY --from=build --chown=nonroot:nonroot --chmod=755 /tmp/semver-cli /usr/local/bin/semver-cli

0 commit comments

Comments
 (0)