Skip to content

Commit 1230f4a

Browse files
feat: rename ballast (#587)
1 parent 0ad8a18 commit 1230f4a

File tree

5 files changed

+11
-13
lines changed

5 files changed

+11
-13
lines changed

charts/cf-runtime/Chart.yaml

Lines changed: 2 additions & 10 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: 7.8.0
4+
version: 7.8.1
55
keywords:
66
- codefresh
77
- runner
@@ -18,15 +18,7 @@ annotations:
1818
# Supported kinds: `added`, `changed`, `deprecated`, `removed`, `fixed`, `security`:
1919
artifacthub.io/changes: |
2020
- kind: changed
21-
description: "(on-premise) Fix kubeconfigFilePath for agentless runtime"
22-
- kind: added
23-
description: "(on-premise) Add option to create extra agentless runtimes"
24-
- kind: added
25-
description: "Add cronjob to continuously patch runtime spec"
26-
- kind: fixed
27-
description: "Fix missing codefresh-dind-config ConfigMap in runtime spec"
28-
- kind: changed
29-
description: "Misc templates renaming"
21+
description: "Rename dind/engine ballast deployments"
3022
dependencies:
3123
- name: cf-common
3224
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: 7.8.0](https://img.shields.io/badge/Version-7.8.0-informational?style=flat-square)
3+
![Version: 7.8.1](https://img.shields.io/badge/Version-7.8.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/templates/_components/ballast/_deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
apiVersion: apps/v1
55
kind: Deployment
66
metadata:
7-
name: {{ include "ballast.fullname" . }}-{{ $name }}
7+
name: {{ include "ballast.fullname" . }}
88
labels:
99
{{- include "ballast.labels" . | nindent 4 }}
1010
spec:

charts/cf-runtime/templates/_components/ballast/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
1111
If release name contains chart name it will be used as a full name.
1212
*/}}
1313
{{- define "ballast.fullname" -}}
14-
{{- printf "%s-%s" (include "cf-runtime.fullname" .) "ballast" | trunc 63 | trimSuffix "-" }}
14+
{{- printf "%s-%s" .Values.name "ballast" | trunc 63 | trimSuffix "-" }}
1515
{{- end }}
1616

1717
{{/*

charts/cf-runtime/templates/runtime/runtime-env-spec-tmpl.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,9 @@ dockerDaemonScheduler:
183183
mountPath: /etc/docker/daemon.json
184184
subPath: daemon.json
185185
readOnly: true
186+
{{- with $dindContext.volumeMounts }}
187+
{{- toYaml . | nindent 4 }}
188+
{{- end }}
186189
volumes:
187190
codefresh-certs-server:
188191
name: codefresh-certs-server
@@ -192,6 +195,9 @@ dockerDaemonScheduler:
192195
name: dind-config
193196
configMap:
194197
name: codefresh-dind-config
198+
{{- with $dindContext.volumes }}
199+
{{- toYaml . | nindent 4 }}
200+
{{- end }}
195201
{{- with $dindContext.podSecurityContext }}
196202
podSecurityContext: {{- toYaml . | nindent 4 }}
197203
{{- end }}

0 commit comments

Comments
 (0)