1
0
mirror of synced 2026-01-05 12:07:35 -05:00
Files
docs/data/reusables/actions/arc-app-post-install-set-secrets.md
2023-06-05 19:16:36 +00:00

941 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 %}