Commit Graph

373 Commits

Author SHA1 Message Date
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
Nikola Jokic 5dea6db412
Fix helm uninstall cleanup by adding finalizers and cleaning them from the controller (#2433)
Co-authored-by: Tingluo Huang <tingluohuang@github.com>
2023-04-03 21:06:12 +02:00
Tingluo Huang e45e4c53f1
Add E2E test to assert self-signed CA support. (#2458) 2023-03-31 10:31:25 -04:00
Bassem Dghaidi 02d9add322
Fix bug preventing env variables from being specified (#2450)
Co-authored-by: Tingluo Huang <tingluohuang@github.com>
2023-03-30 09:40:28 -04:00
Yusuke Kuoka 42abad5def
chart: Bump version to 0.23.0 (#2449) 2023-03-30 10:10:18 +09:00
Francesco Renzi c8e3bb5ec3
Remove containerMode from values (#2442) 2023-03-28 10:16:38 +01:00
Jonathan Wiemers 4536707af6
chart: Allow webhook server env to be set individually (#2377)
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-03-28 11:18:07 +09:00
Waldek Herka 13802c5a6d
chart: Restricting the RBAC rules on secrets (#2265)
Co-authored-by: Waldek Herka <wherka-ama@users.noreply.github.com>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-03-28 08:43:33 +09:00
cskinfill 362fa5d52e
crd: Add enterprise, organization, repository, and runner labels to runnerdeployments print columns (#2310)
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-03-28 08:43:01 +09:00
Zane Hala 65184f1ed8
chart: Allow customization of admission webhook timeout (#2398)
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-03-28 08:42:20 +09:00
Nikola Jokic 56e1c62ac2
Add labels to autoscaling runner set subresources to allow easier inspection (#2391)
Co-authored-by: Tingluo Huang <tingluohuang@github.com>
2023-03-27 11:19:34 +02:00
Tingluo Huang 064039afc0
Ignore extra dind container when contaerinMode.type=dind. (#2418) 2023-03-17 09:26:51 +01:00
Nikola Jokic e5d8d65396
Introduce ADR change for adding labels to our resources (#2407)
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
2023-03-16 11:02:42 -04:00
Bassem Dghaidi c465ace8fb
Update the values.yaml sample for improved clarity (#2416) 2023-03-16 11:02:18 -04:00
Tingluo Huang 34f3878829
Fix helm chart rendering errors. (#2414) 2023-03-16 09:21:43 -04:00
Tingluo Huang 40811ebe0e
Support the controller to watching a single namespace. (#2374) 2023-03-14 10:52:25 -04:00
Tingluo Huang 9e6c7d019f
Delay role/rolebinding creation to gha-runner-scale-set installation time (#2363) 2023-03-14 09:45:44 -04:00
Tingluo Huang 2bf83d0d7f
Remove list/watch secrets permission from the manager cluster role. (#2276) 2023-03-14 09:23:14 -04:00
Tingluo Huang bd9f32e354
Create separate chart validation workflow for gha-* charts. (#2393)
Co-authored-by: Nikola Jokic <jokicnikola07@gmail.com>
2023-03-13 12:44:54 -04:00
Nikola Jokic babbfc77d5
Surface EphemeralRunnerSet stats to AutoscalingRunnerSet (#2382) 2023-03-13 16:16:28 +01:00
Nikola Jokic a5f98dea75
Refactor main.go and introduce make run-scaleset to be able to run manager locally (#2337) 2023-03-10 18:05:51 +01:00
Francesco Renzi 1d24d3b00d
Prepare 0.3.0 release (#2388)
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
2023-03-10 10:28:07 -05:00
Tingluo Huang d7b589bed5
Helm chart react changes for the new runner image. (#2348) 2023-03-10 11:18:21 +00:00
Francesco Renzi c569304271
Add support for self-signed CA certificates (#2268)
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
Co-authored-by: Nikola Jokic <jokicnikola07@gmail.com>
Co-authored-by: Tingluo Huang <tingluohuang@github.com>
2023-03-09 17:23:32 +00:00
Tingluo Huang a462ecbe79
Trim slash for configure URL. (#2381) 2023-03-09 09:02:05 -05:00
Chris Patterson 41f2ca3ed9
Adding parameter to configure the runner set name. (#2279)
Co-authored-by: TingluoHuang <TingluoHuang@github.com>
2023-03-03 08:36:14 -05:00
Nikola Jokic be47190d4c
Chart naming validation on AutoscalingRunnerSet install (#2347)
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
Co-authored-by: Bassem Dghaidi <Link-@github.com>
2023-03-02 10:35:55 +01:00
Tingluo Huang e8d8c6f357
Make CT test to install charts in the right order. (#2350) 2023-03-02 03:16:40 -05:00
Bassem Dghaidi adad3d5530
Rename actions-runner-controller-2 and auto-scaling-runner-set helm charts (#2333)
Co-authored-by: Ava S <avastancu@github.com>
2023-03-01 07:16:03 -05:00