-
Register the app ID, installation ID, and the downloaded
.pem
private key file from the previous steps to Kubernetes as a secret.To create a Kubernetes secret with the values of your {% data variables.product.prodname_github_app %}, run the following command.
{% data reusables.actions.arc-runners-namespace %}
kubectl create secret generic pre-defined-secret \ --namespace=arc-runners \ --from-literal=github_app_id=123456 \ --from-literal=github_app_installation_id=654321 \ --from-literal=github_app_private_key='-----BEGIN RSA PRIVATE KEY-----********'
Then using the
githubConfigSecret
property in your copy of thevalues.yaml
file, pass the secret name as a reference.githubConfigSecret: pre-defined-secret
{% data reusables.actions.actions-runner-controller-helm-chart-options %}