Skip to content

Commit 6d89001

Browse files
feat: add env map to runtime patch hook (#375)
1 parent 4bd657a commit 6d89001

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

charts/cf-runtime/Chart.yaml

Lines changed: 2 additions & 2 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: 3.0.5
4+
version: 3.0.6
55
keywords:
66
- codefresh
77
- runner
@@ -15,7 +15,7 @@ maintainers:
1515
annotations:
1616
artifacthub.io/changes: |
1717
- kind: added
18-
description: Add chart signing via Cosign
18+
description: Add env to runtime patch job
1919
dependencies:
2020
- name: cf-common
2121
repository: https://chartmuseum.codefresh.io/cf-common

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: 3.0.5](https://img.shields.io/badge/Version-3.0.5-informational?style=flat-square)
3+
![Version: 3.0.6](https://img.shields.io/badge/Version-3.0.6-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/runtime/update-runtime-job.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ spec:
4848
{{- include "runtime.installation-token-env-var-value" . | indent 10}}
4949
- name: API_HOST
5050
value: {{ .Values.global.codefreshHost }}
51+
{{- include (printf "%s.env-vars" $cfCommonTplSemver) (dict "Values" $values.env "context" .) | nindent 10 }}
5152
volumeMounts:
5253
- name: config
5354
mountPath: /usr/share/extras/runtime.yaml

charts/cf-runtime/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,7 @@ runtime:
506506
podSecurityContext: {}
507507
resources: {}
508508
tolerations: []
509+
env: {}
509510

510511
# -- Set parent runtime to inherit.
511512
# Should not be changes. Parent runtime is controlled from Codefresh side.

0 commit comments

Comments
 (0)