Skip to content

Commit 8c4af6e

Browse files
feat: remove token from output (#600)
1 parent 73a5756 commit 8c4af6e

File tree

5 files changed

+6
-10
lines changed

5 files changed

+6
-10
lines changed

charts/cf-runtime/Chart.yaml

Lines changed: 3 additions & 3 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.3
4+
version: 8.0.4
55
keywords:
66
- codefresh
77
- runner
@@ -17,8 +17,8 @@ annotations:
1717
artifacthub.io/containsSecurityUpdates: "true"
1818
# Supported kinds: `added`, `changed`, `deprecated`, `removed`, `fixed`, `security`:
1919
artifacthub.io/changes: |
20-
- kind: added
21-
description: "Added ports for metrics in dind service."
20+
- kind: fixed
21+
description: "Remove token from output of patch Job"
2222
dependencies:
2323
- name: cf-common
2424
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.3](https://img.shields.io/badge/Version-8.0.3-informational?style=flat-square)
3+
![Version: 8.0.4](https://img.shields.io/badge/Version-8.0.4-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: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
set -x
44

5-
AGENT=${AGENT:-true}
6-
API_HOST=${API_HOST:-""}
7-
API_KEY=${API_KEY:-""}
8-
95
(set +x; codefresh auth create-context --api-key $API_KEY --url $API_HOST)
106

117
if [[ "$AGENT" == "true" ]]; then

charts/cf-runtime/templates/hooks/post-install/job-update-runtime.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spec:
4646
- name: API_HOST
4747
value: {{ include "runtime.runtime-environment-spec.codefresh-host" . }}
4848
- name: AGENT
49-
value: {{ .Values.runtime.agent | quote }}
49+
value: {{ .Values.runtime.agent | quote | default "true" }}
5050
{{- include (printf "%s.env-vars" $cfCommonTplSemver) (dict "Values" $values.env "context" .) | nindent 8 }}
5151
volumeMounts:
5252
- name: runtime-config

charts/cf-runtime/templates/runtime/cronjob-update-runtimes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ spec:
5656
- name: API_HOST
5757
value: {{ include "runtime.runtime-environment-spec.codefresh-host" . }}
5858
- name: AGENT
59-
value: {{ .Values.runtime.agent | quote }}
59+
value: {{ .Values.runtime.agent | quote | default "true" }}
6060
{{- include (printf "%s.env-vars" $cfCommonTplSemver) (dict "Values" $values.env "context" .) | nindent 12 }}
6161
volumeMounts:
6262
- name: runtime-config

0 commit comments

Comments
 (0)