1
0
mirror of synced 2026-01-08 03:01:54 -05:00
Files
docs/data/reusables/actions/arc-app-post-install-set-secrets.md
Siara 7d64ed3a11 Migrate Actions Runner Controller docs (#35498)
Co-authored-by: jc-clark <jc-clark@github.com>
Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: amstead <am-stead@github.com>
Co-authored-by: hubwriter <hubwriter@github.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
Co-authored-by: Chris Patterson <chrispat@github.com>
Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com>
Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com>
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
Co-authored-by: John Sudol <24583161+johnsudol@users.noreply.github.com>
Co-authored-by: Francesco Renzi <rentziass@gmail.com>
2023-04-24 18:47:18 +00:00

937 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.

    kubectl create secret generic pre-defined-secret \
       --namespace=my_namespace \
       --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 %}