Skip to content

Commit f47779e

Browse files
updated runner image to 1.10.1 (#393)
* updated runner image to `1.10.1` * add runner pod monitor --------- Co-authored-by: mikhail-klimko <[email protected]>
1 parent 00a2b8f commit f47779e

File tree

4 files changed

+30
-13
lines changed

4 files changed

+30
-13
lines changed

charts/cf-runtime/Chart.yaml

Lines changed: 7 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: 6.1.1
4+
version: 6.1.2
55
keywords:
66
- codefresh
77
- runner
@@ -14,8 +14,12 @@ maintainers:
1414
url: https://codefresh-io.github.io/
1515
annotations:
1616
artifacthub.io/changes: |
17-
- kind: security
18-
description: Updated default COMPOSE_IMAGE tag to `v2.20.3-1.4.0`
17+
- kind: changed
18+
description: Updated runner image to `1.10.1`
19+
- kind: added
20+
description: Add pod monitor for Runner deployment
21+
- kind: fixed
22+
description: Add default nameOverride to .Values.serviceMonitor and .Values.podMonitor to avoid naming collision
1923
dependencies:
2024
- name: cf-common
2125
repository: https://chartmuseum.codefresh.io/cf-common

charts/cf-runtime/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Codefresh Runner
22

3-
![Version: 6.1.1](https://img.shields.io/badge/Version-6.1.1-informational?style=flat-square)
3+
![Version: 6.1.2](https://img.shields.io/badge/Version-6.1.2-informational?style=flat-square)
44

55
Helm chart for deploying [Codefresh Runner](https://codefresh.io/docs/docs/installation/codefresh-runner/) to Kubernetes.
66

@@ -889,13 +889,14 @@ Go to [https://<YOUR_ONPREM_DOMAIN_HERE>/admin/runtime-environments/system](http
889889
| monitor.updateStrategy | object | `{"type":"RollingUpdate"}` | Upgrade strategy |
890890
| nameOverride | string | `""` | String to partially override cf-runtime.fullname template (will maintain the release name) |
891891
| podMonitor | object | See below | Add podMonitor (for engine pods) |
892-
| podMonitor.main.enabled | bool | `false` | Enable service monitor |
892+
| podMonitor.main.enabled | bool | `false` | Enable pod monitor for engine pods |
893+
| podMonitor.runner.enabled | bool | `false` | Enable pod monitor for runner pod |
893894
| re | object | `{}` | |
894895
| runner | object | See below | Runner parameters |
895896
| runner.affinity | object | `{}` | Set affinity |
896897
| runner.enabled | bool | `true` | Enable the runner |
897898
| runner.env | object | `{}` | Add additional env vars |
898-
| runner.image | object | `{"registry":"quay.io","repository":"codefresh/venona","tag":"1.9.17"}` | Set image |
899+
| runner.image | object | `{"registry":"quay.io","repository":"codefresh/venona","tag":"1.10.1"}` | Set image |
899900
| runner.init | object | `{"image":{"registry":"quay.io","repository":"codefresh/cli","tag":"0.85.0-rootless"},"resources":{"limits":{"cpu":"1","memory":"512Mi"},"requests":{"cpu":"0.2","memory":"256Mi"}}}` | Init container |
900901
| runner.nodeSelector | object | `{}` | Set node selector |
901902
| runner.podAnnotations | object | `{}` | Set pod annotations |
@@ -958,8 +959,8 @@ Go to [https://<YOUR_ONPREM_DOMAIN_HERE>/admin/runtime-environments/system](http
958959
| runtime.rbac.rules | list | `[]` | Add custom rule to the engine role |
959960
| runtime.runtimeExtends | list | `["system/default/hybrid/k8s_low_limits"]` | Set parent runtime to inherit. Should not be changes. Parent runtime is controlled from Codefresh side. |
960961
| runtime.serviceAccount | object | `{"annotations":{},"create":true}` | Set annotation on engine Service Account Ref: https://codefresh.io/docs/docs/administration/codefresh-runner/#injecting-aws-arn-roles-into-the-cluster |
961-
| serviceMonitor | object | See below | Add serviceMonitor (for dind pods) |
962-
| serviceMonitor.main.enabled | bool | `false` | Enable service monitor |
962+
| serviceMonitor | object | See below | Add serviceMonitor |
963+
| serviceMonitor.main.enabled | bool | `false` | Enable service monitor for dind pods |
963964
| storage.azuredisk.cachingMode | string | `"None"` | |
964965
| storage.azuredisk.skuName | string | `"Premium_LRS"` | Set storage type (`Premium_LRS`) |
965966
| storage.backend | string | `"local"` | Set backend volume type (`local`/`ebs`/`ebs-csi`/`gcedisk`/`azuredisk`) |

charts/cf-runtime/templates/_components/runner/_rbac.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ metadata:
2222
rules:
2323
- apiGroups: [ "" ]
2424
resources: [ "pods", "persistentvolumeclaims" ]
25-
verbs: [ "get", "create", "delete" ]
25+
verbs: [ "get", "create", "delete", patch ]
2626
- apiGroups: [ "" ]
2727
resources: [ "configmaps", "secrets" ]
2828
verbs: [ "get", "create", "update", patch ]

charts/cf-runtime/values.yaml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ runner:
7979
image:
8080
registry: quay.io
8181
repository: codefresh/venona
82-
tag: 1.9.17
82+
tag: 1.10.1
8383

8484
# -- Init container
8585
init:
@@ -742,12 +742,13 @@ monitor:
742742
# -- Set affinity
743743
affinity: {}
744744

745-
# -- Add serviceMonitor (for dind pods)
745+
# -- Add serviceMonitor
746746
# @default -- See below
747747
serviceMonitor:
748748
main:
749-
# -- Enable service monitor
749+
# -- Enable service monitor for dind pods
750750
enabled: false
751+
nameOverride: dind
751752
selector:
752753
matchLabels:
753754
app: dind
@@ -762,14 +763,25 @@ serviceMonitor:
762763
# @default -- See below
763764
podMonitor:
764765
main:
765-
# -- Enable service monitor
766+
# -- Enable pod monitor for engine pods
766767
enabled: false
768+
nameOverride: engine
767769
selector:
768770
matchLabels:
769771
app: runtime
770772
podMetricsEndpoints:
771773
- path: /metrics
772774
targetPort: 9100
775+
runner:
776+
# -- Enable pod monitor for runner pod
777+
enabled: false
778+
nameOverride: runner
779+
selector:
780+
matchLabels:
781+
codefresh.io/application: runner
782+
podMetricsEndpoints:
783+
- path: /metrics
784+
targetPort: 8080
773785

774786
# -- Event exporter parameters
775787
# @default -- See below

0 commit comments

Comments
 (0)