actions / actions-runner-controller

Kubernetes controller for GitHub Actions self-hosted runners
Apache License 2.0
4.63k stars 1.1k forks source link

Extract single place to set up indexers #3454

Closed nikola-jokic closed 4 months ago

nikola-jokic commented 5 months ago

The purpose of this extraction is to set indexer for pod on the ephemeral runner.

We cannot set indexer on the same resource (Pod) from the listener and the ephemeral runner. This PR extracts the owner indexer logic to a single place.