diff --git a/charts/cf-runtime/Chart.yaml b/charts/cf-runtime/Chart.yaml index add6ddc5..ce9e3bc9 100644 --- a/charts/cf-runtime/Chart.yaml +++ b/charts/cf-runtime/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: A Helm chart for Codefresh Runner name: cf-runtime -version: 7.1.8 +version: 7.2.0 keywords: - codefresh - runner @@ -14,7 +14,7 @@ maintainers: url: https://codefresh-io.github.io/ annotations: # 💡 Do not forget to update this annotation: - artifacthub.io/containsSecurityUpdates: "true" + artifacthub.io/containsSecurityUpdates: "false" # Supported kinds: `added`, `changed`, `deprecated`, `removed`, `fixed`, `security`: artifacthub.io/changes: | - kind: security diff --git a/charts/cf-runtime/templates/_components/runner/environment-variables/_main-container.yaml b/charts/cf-runtime/templates/_components/runner/environment-variables/_main-container.yaml index 4d3f0304..2cebe8d4 100644 --- a/charts/cf-runtime/templates/_components/runner/environment-variables/_main-container.yaml +++ b/charts/cf-runtime/templates/_components/runner/environment-variables/_main-container.yaml @@ -16,6 +16,7 @@ CODEFRESH_TOKEN: name: {{ include "runner.fullname" . }} key: agent-codefresh-token DOCKER_REGISTRY: {{ .Values.global.imageRegistry }} +RUNTIME_VERSION: {{ .Chart.Version }} {{- end }} {{- define "runner.environment-variables" }} diff --git a/venona/cmd/start.go b/venona/cmd/start.go index d7a061f1..ed1ff609 100644 --- a/venona/cmd/start.go +++ b/venona/cmd/start.go @@ -232,7 +232,7 @@ func run(options startOptions) { httpHeaders := http.Header{} { - httpHeaders.Add("User-Agent", fmt.Sprintf("cf-classic-runner/%s", version)) + httpHeaders.Add("User-Agent", fmt.Sprintf("cf-classic-runner/%s,cf-classic-runtime/%s", version, os.Getenv("RUNTIME_VERSION"))) } cf = codefresh.New(codefresh.Options{