![]() ![]() The required scopes are different depending on whether you are registering runners at the repository or organization level. Authenticating ARC with a personal access token (classic)ĪRC can use personal access tokens (classic) to register self-hosted runners.Ĭreate a personal access token (classic) with the required scopes. ![]() githubConfigSecret: pre-defined-secretįor additional Helm configuration options, see values.yaml in the ARC repository. Then using the githubConfigSecret property in your copy of the values.yaml file, pass the secret name as a reference. from-literal=github_app_private_key= '-BEGIN RSA PRIVATE KEY-********' Kubectl create secret generic pre-defined-secret \ from-literal=github_app_private_key='-BEGIN RSA PRIVATE KEY-********' from-literal=github_app_installation_id=654321 \ To create a Kubernetes secret with the values of your GitHub App, run the following command.īash kubectl create secret generic pre-defined-secret \ pem private key file from the previous steps to Kubernetes as a secret. Register the app ID, installation ID, and the downloaded. You can find the app installation ID on the app installation page, which has the following URL format: In the menu at the top-left corner of the page, click Install app, and next to your organization, click Install to install the app on your organization.Īfter confirming the installation permissions on your organization, note the app installation ID. Under "Private keys", click Generate a private key, and save the. Then use the dropdown menus to select the following access permissions.Īfter creating the GitHub App, on the GitHub App's page, note the value for "App ID". Under "Permissions," click Organization permissions. Then use the dropdown menus to select the following access permissions. Under "Permissions," click Repository permissions. For more information, see " Registering a GitHub App". For more information, see " Managing access to self-hosted runners using groups." Authenticating ARC with a GitHub AppĬreate a GitHub App that is owned by an organization. Note: You cannot authenticate using a GitHub App for runners at the enterprise level. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |