Skip to content

Commit 3b0f53c

Browse files
fix: modify accounts function (#598)
1 parent b6688fe commit 3b0f53c

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

charts/cf-runtime/Chart.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
description: A Helm chart for Codefresh Runner
33
name: cf-runtime
4-
version: 8.0.0
4+
version: 8.0.1
55
keywords:
66
- codefresh
77
- runner
@@ -17,12 +17,8 @@ annotations:
1717
artifacthub.io/containsSecurityUpdates: "true"
1818
# Supported kinds: `added`, `changed`, `deprecated`, `removed`, `fixed`, `security`:
1919
artifacthub.io/changes: |
20-
- kind: changed
21-
description: Updated dind image to version 28.1.1-3.0.1
22-
- kind: deprecated
23-
description: Deprecated pushing and pulling images manifest v2 schema 1 and "Docker Image v1"
24-
- kind: security
25-
description: Fixed some vulnerabilities in dind
20+
- kind: fixed
21+
description: "Fix patch-runtime.sh script to not modify accounts when agent is false"
2622
dependencies:
2723
- name: cf-common
2824
repository: oci://quay.io/codefresh/charts

charts/cf-runtime/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Codefresh Runner
22

3-
![Version: 8.0.0](https://img.shields.io/badge/Version-8.0.0-informational?style=flat-square)
3+
![Version: 8.0.1](https://img.shields.io/badge/Version-8.0.1-informational?style=flat-square)
44

55
Helm chart for deploying [Codefresh Runner](https://codefresh.io/docs/docs/installation/codefresh-runner/) to Kubernetes.
66

charts/cf-runtime/files/patch-runtime.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ modify_accounts() {
3737
for runtime in /opt/codefresh/*.yaml; do
3838
if [[ -f $runtime ]]; then
3939
codefresh patch $patch_type -f $runtime
40-
modify_accounts "$runtime"
40+
if [[ "$AGENT" == "false" ]]; then
41+
modify_accounts "$runtime"
42+
fi
4143
fi
4244
done
4345

0 commit comments

Comments
 (0)