Commit Graph

401 Commits

Author SHA1 Message Date
Nikola Jokic a33d34a036
Pin third party actions (#3981) 2025-04-17 12:19:15 +02:00
Nikola Jokic 4ca37fbdf2
Prepare 0.11.0 release (#3992) 2025-03-25 11:09:03 +01:00
Nikola Jokic 5a960b5ebb
Create configurable metrics (#3975) 2025-03-24 15:27:42 +01:00
Nikola Jokic 7033e299cd
Add events role permission to leader_election_role (#3988) 2025-03-24 15:10:47 +01:00
J. Fernández 3c1a323381
feat: allow namespace overrides (#3797)
Signed-off-by: Jesús Fernández <7312236+fernandezcuesta@users.noreply.github.com>
Co-authored-by: Nikola Jokic <jokicnikola07@gmail.com>
2025-03-18 21:41:04 +01:00
Nikola Jokic fb9b96bf75
Update all dependencies, conforming to the new controller-runtime API (#3949) 2025-03-11 15:52:52 +01:00
Patrick Vickery d4e3d2aa6f
Trim volume and container helpers in gha-runner-scale-set (#3807)
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
2025-03-10 14:53:25 +01:00
Mikey Smet 75c6a94010
Use gha-runner-scale-set-controller.chart instead of .Chart.Version (#3729)
Co-authored-by: Nikola Jokic <jokicnikola07@gmail.com>
2025-03-10 11:48:30 +01:00
Nikola Jokic 7a5996f467
Remove old githubrunnerscalesetlistener, remove warning and fix config bug (#3937) 2025-03-07 11:58:16 +01:00
Nikola Jokic 87938ee5bf
Include custom annotations and labels to all resources created by `gha-runner-scale-set` chart (#3934) 2025-03-07 11:57:48 +01:00
Cees-Jan Kiewiet 2f5c981d46
Drop verbose flag from runner scale set init-dind-externals copy (#3805) 2025-03-05 21:02:27 +01:00
thinkbiggerltd 75e037909e
AutoscalingRunnerSet env: not Rendering correctly (#3826)
Co-authored-by: Nikola Jokic <jokicnikola07@gmail.com>
2025-03-05 11:00:13 +01:00
John Wesley Walker III 790191e987
Clarify syntax for `githubConfigSecret` (#3812)
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
2025-01-21 13:29:41 +01:00
Nikola Jokic 66172ab0bd
Fix template tests and add go test on gha-validate-chart (#3886) 2025-01-15 15:54:33 +01:00
Bassem Dghaidi 1e10417be8
Prepare `0.10.1` release (#3859) 2024-12-18 16:22:50 +01:00
Bassem Dghaidi 1ef7196115
Fix helm chart bug related to `runnerMaxConcurrentReconciles` (#3858) 2024-12-18 16:14:55 +01:00
Bassem Dghaidi 59cb1d2c8b
Prepare `0.10.0` release (#3849) 2024-12-16 11:39:55 +01:00
Bassem Dghaidi 7e04027d19
Make k8s client rate limiter parameters configurable (#3848)
Co-authored-by: Taketoshi Fujiwara <t-b-fujiwara@mercari.com>
2024-12-13 15:37:01 +01:00
Yusuke Kuoka 3998f6dee6
Make EphemeralRunnerController MaxConcurrentReconciles configurable (#3832)
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
2024-12-11 21:19:43 +01:00
Nikola Jokic 80d848339e
Prepare 0.9.3 release (#3624) 2024-06-25 12:35:39 +02:00
Nikola Jokic a62ca3d853
Exclude label prefix propagation (#3607) 2024-06-21 12:12:14 +02:00
Nikola Jokic 3be7128f9a
Prepare 0.9.2 release (#3530) 2024-05-20 10:58:06 +02:00
Nikola Jokic ea13873f14
Remove service monitor that is not used in controller chart (#3526) 2024-05-17 13:06:57 +02:00
Nikola Jokic 9e191cdd21
Prepare 0.9.1 release (#3448) 2024-04-17 10:51:28 +02:00
nasa9084 98854ef9c0
Fix doc comment for listenerTemplate (#3436) 2024-04-15 11:48:30 +02:00
Alexandre Chouinard 0006dd5eb1
Add topologySpreadConstraint to gha-runner-scale-set-controller chart (#3405) 2024-04-12 14:22:41 +02:00
Nikola Jokic 4357525445
Prepare 0.9.0 release (#3388) 2024-03-27 11:54:17 +01:00
Nikola Jokic 7a643a5107
Fix overscaling when the controller is much faster then the listener (#3371)
Co-authored-by: Francesco Renzi <rentziass@gmail.com>
2024-03-20 15:36:12 +01:00
Nikola Jokic 46cfbb6ec7
Fix documented dind expansion (#3368) 2024-03-19 15:24:58 +01:00
Nikola Jokic c9099a5a56
Add annotation with values hash to re-create listener (#3195) 2024-03-19 14:29:49 +01:00
Nikola Jokic 2c0e53951b
Fix tests and comment string for docker socket mounted path (#3366) 2024-03-19 11:29:07 +01:00
Nikola Jokic a7af44e042
Deprecation warning of older listener for 0.9.0 release (#3280) 2024-03-18 12:59:41 +01:00
Nikola Jokic f225fef921
Bump Go version to 1.22.1 (#3290) 2024-03-18 12:46:30 +01:00
Nikola Jokic a0fb417f69
Change docker socket path to /var/run/docker.sock (#3337) 2024-03-18 12:40:27 +01:00
Nikola Jokic 309b53143e
Prepare 0.8.3 release (#3309) 2024-02-28 10:26:32 +01:00
Ivar Larsson e06c7edc21
Refer to the correct variable in discovery error message (#3296) 2024-02-26 15:51:07 +01:00
Talia Stocks 9fba37540a
Expose volumeMounts and volumes in gha-runner-scale-set-controller (#3260) 2024-02-12 14:47:09 +01:00
Nikola Jokic d72774753c
Prepare 0.8.2 release (#3249) 2024-01-26 11:03:08 +01:00
Nikola Jokic 1f9b7541e6
Prepare 0.8.1 release (#3184) 2023-12-21 17:14:33 +01:00
Nikola Jokic 3fab744a4f
Prepare 0.8.0 release (#3175) 2023-12-20 11:16:56 +01:00
Nikola Jokic 31352924d7
Fix empty env and volumeMounts object on default setup (#3166) 2023-12-18 16:01:34 +01:00
Nikola Jokic f7eb88ce9c
Change minRunners behavior and fix the new listener min runners (#3139) 2023-12-13 19:39:21 +01:00
Adam Szaraniec 1cba9c7800
Fix typo in helm chart (#3104)
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
2023-11-30 11:32:59 +01:00
Yusuke Kuoka 2c29cfb994
Bump legacy ARC chart's app version to v0.27.7 (#3008) 2023-11-27 08:03:58 +01:00
Marco Hanisch 4f89ac5878
Add configureable namespace to ServiceMonitors (#3105) 2023-11-27 14:05:48 +09:00
Nikola Jokic 8aa04dd2be
Prepare 0.7.0 release (#3077) 2023-11-15 13:10:51 +01:00
Nikola Jokic 65fd04540c
Bump go version and all direct dependencies to newest for k8s compatibility (#2947) 2023-11-14 16:19:43 +01:00
Tijmen Stor 1ae5d2b18e
feat: GHA controller Helm Chart quoted labels (#3061) 2023-11-13 16:18:04 +01:00
Nikola Jokic 95487735a2
Remove inheritance of imagePullPolicy from manager to listeners (#3009) 2023-11-07 15:08:36 +01:00
Max Knee 62eca94e45
Update Chart.yaml (#3013)
Signed-off-by: Max Knee <max.knee@nytimes.com>
2023-10-25 09:49:50 +02:00
kahirokunn e1edb84abe
chore: Service accounts in Kubernetes mode can now be annotated. (#2566)
Signed-off-by: kahirokunn <okinakahiro@gmail.com>
2023-10-18 13:37:39 +02:00
Yusuke Kuoka f14dbd68f1
Bump Kubernetes client to 1.26.4 (#2991) 2023-10-16 15:45:25 +02:00
Waldek Herka ce80adb9ab
Allow custom labels to be specified for controller pods (#2952)
Co-authored-by: Waldek Herka <waldek.herka@no.reply>
2023-10-06 10:56:40 +02:00
Nikola Jokic 1a8abb6d39
Prepare 0.6.1 release (#2929) 2023-09-26 11:40:48 +02:00
Nikola Jokic db061b33e7
Fix name override labels when runnerScaleSetName value is set (#2915) 2023-09-26 11:17:04 +02:00
Dmitry Chepurovskiy 16666e1bba
Fix #2809 : replace TLS dockerd connection with unix socket (#2833)
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
2023-09-22 12:41:50 +02:00
Nikola Jokic cf24ab584d
Prepare 0.6.0 release (#2900) 2023-09-15 12:04:06 +02:00
Nikola Jokic ea2fb32e20
Extend and generate crds allowing listener pod spec change (#2758)
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
2023-09-14 15:33:29 +02:00
Nikola Jokic 6a022e5489
Fix chart test for name override (#2896) 2023-09-14 15:24:07 +02:00
Nicholas Hawkes 837a1cb850
Set the AutoscalingRunnerSet name to runnerScaleSetName (#2803) 2023-09-13 09:55:08 +02:00
Andi Büchler 564c112b1a
Fix trivial typos (#2856) 2023-09-07 13:51:41 +02:00
Francesco Virga c7dce2bbb7
Documenting the runner container command in values.yaml (#2854) 2023-09-07 13:47:08 +02:00
Nikola Jokic 10d79342d7
Set restart policy on the runner pod to Never if restartPolicy is not set in template (#2787) 2023-09-07 13:39:08 +02:00
Kirill Bilchenko f1d7c52253
bump appVersion to latest available app (#2840) 2023-08-30 15:01:31 +09:00
Jonathan Wiemers 76d622b86b
feature: allow custom envornment variables in metricsservice (#2839) 2023-08-30 15:01:06 +09:00
Bassem Dghaidi 5e23c598a8
Move top level metrics property up (#2841) 2023-08-29 03:58:08 -04:00
Stefan Andres 94065d2fc5
[helm actions-runner-controller] Use namespaceSelector.matchExpression instead of matchLabels (#2830) 2023-08-28 14:24:20 +09:00
Lukas Hauser 8b7bfa5ffb
Fix - Actually Enable Sets in addition to Slices in `env` (#2828) 2023-08-28 13:48:29 +09:00
Nikola Jokic abc0b678d3
Revert chart name and use helper constant to trim the name base (#2824)
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
2023-08-21 15:36:14 +02:00
Bassem Dghaidi 8a41a596b6
Prepare 0.5.0 release (#2783) 2023-08-21 14:10:36 +02:00
Nikola Jokic a0a3916c80
Provide scale-set listener metrics (#2559)
Co-authored-by: Tingluo Huang <tingluohuang@github.com>
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
2023-08-21 13:50:07 +02:00
Nikola Jokic 1c360d7e26
Document customization for containerModes (#2777) 2023-08-18 11:03:28 +02:00
Nikola Jokic 6a75bc0880
Trim gha-runner-scale-set to gha-rs in names and remove role type suffixes (#2706) 2023-08-09 11:11:45 +02:00
arielly-parussulo 06cbd632b8
add interval and timeout configuration for the actions-runner-controler serviceMonitors (#2654)
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-07-25 13:59:41 +09:00
Ekaterina Sobolevskaia 63a6b5a7f0
add opportunity write dnsPolicy for controller by helm values (#2708) 2023-07-25 13:38:13 +09:00
marcin-motyl fddc5bf1c8
Fix deployment & service values in actionsMetrics (#2683) 2023-07-25 09:56:20 +09:00
Nikola Jokic 6fe8008640
Add configurable log format to values.yaml and propagate it to listener (#2686) 2023-07-05 21:06:42 +02:00
marcin-motyl 685f7162a4
Fix serviceMonitor labels in actionsMetrics (#2682) 2023-07-01 13:59:44 +09:00
Lars Lange d134dee14b
fix: template test of service account (#2705) 2023-06-28 10:24:49 +02:00
kahirokunn 78a93566af
chore: remove 16 characters from -service-account (#2567)
Signed-off-by: kahirokunn <okinakahiro@gmail.com>
Co-authored-by: Nikola Jokic <jokicnikola07@gmail.com>
2023-06-27 12:32:47 +02:00
Nikola Jokic 7ca3df3605
fix chart test (#2694) 2023-06-21 08:43:03 -04:00
kahirokunn 2343cd2d7b
chore(gha-runner-scale-set): update indentation of initContainers (#2638) 2023-06-21 13:50:02 +02:00
Timm Drevensek cf18cb3fb0
Adapt role name to prevent namespace collision (#2617) 2023-06-20 17:35:53 +02:00
Daniel Hobley 90ea691e72
feat: allow for modifying `var-run` mount maximum size limit (#2624) 2023-05-27 11:47:23 +09:00
robert lestak 32a653c0ca
enable passing docker-gid in helm chart (#2574) 2023-05-27 11:33:46 +09:00
Vincent Rivellino c7b2dd1764
fix: labels on github webhook service template (#2582) 2023-05-27 11:33:20 +09:00
Armin Becher 34909f0cf1
Fix typo in HorizontalRunnerAutoscaler (#2563)
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-05-27 11:22:44 +09:00
Bassem Dghaidi 8afef51c8b
Add DrainJobsMode (aka UpdateStrategy feature) (#2569) 2023-05-23 07:42:30 -04:00
Nikola Jokic c5ebe750dc
Discard logs on helm chart tests (#2607) 2023-05-18 14:15:05 +02:00
Yusuke Kuoka 8a5fb6ccb7
Bump chart version to v0.23.3 for ARC v0.27.4 (#2577) 2023-05-12 09:10:59 -04:00
Alex Williams 942f773fef
Update helm chart to support actions metrics graceful termiantion (#2498)
# Summary

- add lifecycle, terminationGracePeriodSeconds, and loadBalancerSource ranges to metrics server
- these were missed when copying from the other webhook server
- original PR adding them to the other webhook server is here https://github.com/actions/actions-runner-controller/pull/2305

Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-04-27 13:50:31 +09:00
Thomas B 21722a5de8
Add CR and CRB to the helm chart (#2504)
In response to https://github.com/actions/actions-runner-controller/issues/2212 , the ARC helm chart is missing ClusterRoleBinding and ClusterRole for the ActionsMetricsServer resulting on missing permissions.

This also fix the labels of the ActionsMetricsServer Service as it is selected by the ServiceMonitor with those labels.

Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-04-27 13:33:48 +09:00
Thilo Uttendorfer 04fb9f4fa1
Fix the default version of kube-rbac-proxy in the docs (#2535) 2023-04-27 13:16:12 +09:00
Paul Brousseau 8304b80955
docs: minor correction for actions metrics server secret (#2542)
Aligning docs with what the Helm chart produces
2023-04-27 13:15:49 +09:00
Edgar Kalinovski 2ee15dbca3
Add description for "dockerRegistryMirror" key (#2488) 2023-04-21 11:10:55 +09:00
Yusuke Kuoka 52b97139b6
Bump chart version to v0.23.2 for ARC v0.27.3 (#2514)
Ref #2490
2023-04-17 09:00:57 -04:00
Nikola Jokic b86af190f7
Extend manager roles to accept ephemeralrunnerset/finalizers (#2493) 2023-04-10 08:49:32 +02:00
Hidetake Iwata a880114e57
chart: Bump version to 0.23.1 (#2483) 2023-04-05 22:39:29 +09:00
Nikola Jokic e80bc21fa5
gha-runner-scale-set 0.4.0 release (#2467)
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
2023-04-05 08:56:27 -04:00
Nikola Jokic a804bf8b00
Add ImagePullPolicy to the AutoscalingListener, configurable through Manager env (#2477) 2023-04-04 19:07:20 +02:00