Skip to content

Commit d93493c

Browse files
feat: remove sidecar container (#627)
1 parent caf34c7 commit d93493c

File tree

7 files changed

+3
-102
lines changed

7 files changed

+3
-102
lines changed

charts/cf-runtime/.ci/values-ci.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ monitor:
1818
enabled: true
1919
rbac:
2020
namespaced: true
21-
runner:
22-
sidecar:
23-
enabled: true
2421
runtime:
2522
dind:
2623
podLabels:

charts/cf-runtime/Chart.yaml

Lines changed: 2 additions & 8 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.3.11
4+
version: 8.3.12
55
keywords:
66
- codefresh
77
- runner
@@ -18,13 +18,7 @@ annotations:
1818
# Supported kinds: `added`, `changed`, `deprecated`, `removed`, `fixed`, `security`:
1919
artifacthub.io/changes: |
2020
- kind: changed
21-
description: "Update \"dind\" to 28.3.3-3.0.3"
22-
- kind: changed
23-
description: "Update \"engine\" to 1.180.2"
24-
- kind: fixed
25-
description: "Prevent DinD containers escaping the pod cgroup on cgroup v2. Rootless DinD requires additional configuration on cgroup v2, see \"Rootless DinD\" section in docs for details."
26-
- kind: fixed
27-
description: "Enable legacy Prometheus metrics in the \"engine\" only if METRICS_PROMETHEUS_ENABLED=true."
21+
description: "Remove sidecar container from runner deployment"
2822
dependencies:
2923
- name: cf-common
3024
repository: oci://quay.io/codefresh/charts

charts/cf-runtime/README.md

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

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

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

@@ -1297,7 +1297,6 @@ Install the Helm chart
12971297
| runner.serviceAccount.annotations | object | `{}` | Additional service account annotations |
12981298
| runner.serviceAccount.create | bool | `true` | Create service account |
12991299
| runner.serviceAccount.name | string | `""` | Override service account name |
1300-
| runner.sidecar | object | `{"enabled":false,"env":{"RECONCILE_INTERVAL":300},"image":{"digest":"sha256:da0c9d12b4772e6cd6c1ecb93883471e8785d4d61c9108c9f7d0dc9cc2f5a149","registry":"quay.io","repository":"codefresh/kubectl","tag":"1.33.0"},"resources":{}}` | Sidecar container Reconciles runtime spec from Codefresh API for drift detection |
13011300
| runner.tolerations | list | `[]` | Set tolerations |
13021301
| runner.updateStrategy | object | `{"type":"RollingUpdate"}` | Upgrade strategy |
13031302
| runtime | object | See below | Set runtime parameters |

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

Lines changed: 0 additions & 38 deletions
This file was deleted.

charts/cf-runtime/templates/_components/runner/_deployment.yaml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -69,23 +69,6 @@ spec:
6969
volumeMounts:
7070
{{- toYaml . | nindent 8 }}
7171
{{- end }}
72-
{{- if .Values.sidecar.enabled }}
73-
- name: reconcile-runtime
74-
image: {{ include (printf "%s.image.name" $cfCommonTplSemver ) (dict "image" .Values.sidecar.image "context" .) }}
75-
imagePullPolicy: {{ .Values.sidecar.image.pullPolicy | default "IfNotPresent" }}
76-
command:
77-
- /bin/bash
78-
args:
79-
- -ec
80-
- |
81-
{{- .Files.Get "files/reconcile-runtime.sh" | nindent 10 }}
82-
env:
83-
{{- include "runner-sidecar.environment-variables" . | nindent 8 }}
84-
{{- with .Values.sidecar.resources }}
85-
resources:
86-
{{- toYaml . | nindent 10 }}
87-
{{- end }}
88-
{{- end }}
8972
{{- with .Values.nodeSelector }}
9073
nodeSelector:
9174
{{- toYaml . | nindent 8 }}

charts/cf-runtime/templates/_components/runner/environment-variables/_sidecar-container.yaml

Lines changed: 0 additions & 22 deletions
This file was deleted.

charts/cf-runtime/values.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -90,18 +90,6 @@ runner:
9090
requests:
9191
memory: 256Mi
9292
cpu: '0.2'
93-
# -- Sidecar container
94-
# Reconciles runtime spec from Codefresh API for drift detection
95-
sidecar:
96-
enabled: false
97-
image:
98-
registry: quay.io
99-
repository: codefresh/kubectl
100-
tag: 1.33.0
101-
digest: sha256:da0c9d12b4772e6cd6c1ecb93883471e8785d4d61c9108c9f7d0dc9cc2f5a149
102-
env:
103-
RECONCILE_INTERVAL: 300
104-
resources: {}
10593
# -- Add additional env vars
10694
env: {}
10795
# E.g.

0 commit comments

Comments
 (0)