Skip to content

Commit a48ec4d

Browse files
fix: add internalInfra
1 parent dbecd12 commit a48ec4d

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

charts/cf-runtime/Chart.yaml

Lines changed: 4 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.15
4+
version: 8.3.16
55
keywords:
66
- codefresh
77
- runner
@@ -16,13 +16,9 @@ annotations:
1616
# 💡 Do not forget to update this annotation:
1717
artifacthub.io/containsSecurityUpdates: "true"
1818
# Supported kinds: `added`, `changed`, `deprecated`, `removed`, `fixed`, `security`:
19-
artifacthub.io/changes: |
20-
- kind: changed
21-
description: "Update \"engine\" to 1.180.6"
22-
- kind: fixed
23-
description: "Fix an issue that prevented the Docker metrics collector from shutting down gracefully"
24-
- kind: security
25-
description: "Security fixes in cf-debugger, cf-git-cloner, cli, dind, engine, fs-ops and kubectl"
19+
artifacthub.io/changes: | #yaml
20+
- kind: added
21+
description: "Add runtimeScheduler.internalInfra field to runtime spec"
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.3.15](https://img.shields.io/badge/Version-8.3.15-informational?style=flat-square)
3+
![Version: 8.3.16](https://img.shields.io/badge/Version-8.3.16-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/runtime-env-spec-tmpl.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ metadata:
2424
agent: {{ .Values.runtime.agent }}
2525
runtimeScheduler:
2626
type: KubernetesPod
27+
{{- if .Values.runtime.agent }}
28+
internalInfra: false
29+
{{- else }}
30+
internalInfra: true
31+
{{- end }}
2732
{{- if $engineContext.image }}
2833
image: {{ include (printf "%s.image.name" $cfCommonTplSemver ) (dict "image" $engineContext.image "context" .) | squote }}
2934
{{- end }}

0 commit comments

Comments
 (0)