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>
937 B
937 B
-
Register the app ID, installation ID, and the downloaded
.pemprivate 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 %}