Github Actions Runner Controller

Quickstart

reference

GitHub Actions Self Hosted Runner (Autoscaling with Kubernetes)

notes

I created a github app within the palolotech org scope https://github.com/organizations/palolotech/settings/apps/palolotech

created a private key and downloaded the pem file before installing actions runner controller into a cluster you must create the secret which includes the app config and private key

kubectl create namespace github
kubectl create secret generic controller-manager -n github \
    --from-literal=github_app_id=797634 \
    --from-literal=github_app_installation_id=46162158 \
    --from-file=github_app_private_key=palolotech.github.app.private-key.pem

after some experimentation I opted to define the secret within the kustomize configuration given that the config does not (currently) change across various deployments

this is not the most optimal as it stores the runner controller private key in base64 encoded format within the git repo