1
0
mirror of synced 2026-01-06 06:02:35 -05:00
Files
docs/data/reusables/actions/arc-app-post-install-set-secrets.md

996 B

  1. 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 the values.yaml file, pass the secret name as a reference.

    githubConfigSecret: pre-defined-secret
    

{% data reusables.actions.actions-runner-controller-helm-chart-options %}