actions-runner-controller/controllers
Yusuke Kuoka 63be0223ad
fix: Avoid duplicate volume and mount name error for generic ephemeral volume as "work" (#1471)
* fix: Avoid duplicate volume and mount name error for generic ephemeral volume as "work"

While manually testing configurations being documented in #1464, I discovered that the use of dynamic ephemeral volume for "work" directory was not working correctly due to the valiadation error.

This fixes the runner pod generation logic to not add the default volume and volume mount for "work" dir, so that the error disappears.

Ref #1464

* e2e: Ensure work generic ephemeral volume to work as expected
2022-05-22 10:25:50 +09:00
..
metrics Clean up import list (#645) 2021-06-22 17:55:06 +09:00
testdata test: Add tests with self-hosted label for #953 (#1030) 2022-01-07 08:50:26 +09:00
autoscaling.go Fix label support for TotalNumberOfQueuedAndInProgressWorkflowRuns metric (#1390) 2022-04-27 16:24:21 +01:00
autoscaling_test.go Fix label support for TotalNumberOfQueuedAndInProgressWorkflowRuns metric (#1390) 2022-04-27 16:24:21 +01:00
constants.go cleanup some unused code and minor refactors (#1274) 2022-05-16 18:38:32 +09:00
horizontal_runner_autoscaler_webhook.go Remove the default `githubEvent: {}` requiring a event to be defined (#1379) 2022-04-24 13:37:26 +09:00
horizontal_runner_autoscaler_webhook_on_check_run.go Update go-github from v37 -> v39 (#925) 2021-12-11 21:43:40 +09:00
horizontal_runner_autoscaler_webhook_on_pull_request.go Update go-github from v37 -> v39 (#925) 2021-12-11 21:43:40 +09:00
horizontal_runner_autoscaler_webhook_on_push.go cleanup some unused code and minor refactors (#1274) 2022-05-16 18:38:32 +09:00
horizontal_runner_autoscaler_webhook_test.go Remove the default `githubEvent: {}` requiring a event to be defined (#1379) 2022-04-24 13:37:26 +09:00
horizontalrunnerautoscaler_controller.go feat: Add label support to TotalNumberOfQueuedAndInProgressWorkflowRuns metric (#1373) 2022-04-24 14:41:34 +09:00
integration_test.go Remove the default `githubEvent: {}` requiring a event to be defined (#1379) 2022-04-24 13:37:26 +09:00
new_runner_pod_test.go fix: Avoid duplicate volume and mount name error for generic ephemeral volume as "work" (#1471) 2022-05-22 10:25:50 +09:00
persistent_volume_claim_controller.go Enhance RunnerSet to optionally retain PVs accross restarts (#1340) 2022-05-16 09:26:48 +09:00
persistent_volume_controller.go Enhance RunnerSet to optionally retain PVs accross restarts (#1340) 2022-05-16 09:26:48 +09:00
pod_runner_token_injector.go fix: force restartPolicy "Never" to prevent runner pods from stucking in Terminating when the container disappeared (#1395) 2022-05-14 09:07:17 +01:00
runner_controller.go fix: Avoid duplicate volume and mount name error for generic ephemeral volume as "work" (#1471) 2022-05-22 10:25:50 +09:00
runner_graceful_stop.go cleanup some unused code and minor refactors (#1274) 2022-05-16 18:38:32 +09:00
runner_pod.go fix: force restartPolicy "Never" to prevent runner pods from stucking in Terminating when the container disappeared (#1395) 2022-05-14 09:07:17 +01:00
runner_pod_controller.go Use container name to detect runner container in Pod 2022-03-23 12:39:58 +01:00
runner_pod_owner.go Fix runners to not terminate before unregistration when scaling down 2022-03-13 13:09:46 +00:00
runnerdeployment_controller.go cleanup some unused code and minor refactors (#1274) 2022-05-16 18:38:32 +09:00
runnerdeployment_controller_test.go Clean up import list (#645) 2021-06-22 17:55:06 +09:00
runnerreplicaset_controller.go refactor: remove registration runner dead code (#1260) 2022-05-16 11:23:39 +09:00
runnerreplicaset_controller_test.go refactor: Make RunnerReplicaSet and Runner backed by the same logic that backs RunnerSet 2022-03-06 05:53:26 +00:00
runnerset_controller.go cleanup some unused code and minor refactors (#1274) 2022-05-16 18:38:32 +09:00
schedule.go Experimental support for ScheduledOverrides (#515) 2021-05-03 23:31:17 +09:00
schedule_test.go test: add fuzzing to the test suite (#1463) 2022-05-19 13:34:23 +01:00
suite_test.go Clean up import list (#645) 2021-06-22 17:55:06 +09:00
sync_volumes.go Enhance RunnerSet to optionally retain PVs accross restarts (#1340) 2022-05-16 09:26:48 +09:00
utils.go feat: EKS IAM Roles for Service Accounts for Runner Pods (#226) 2020-12-08 17:56:06 +09:00
utils_test.go feat: EKS IAM Roles for Service Accounts for Runner Pods (#226) 2020-12-08 17:56:06 +09:00