941 B
941 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
githubConfigSecretproperty in your copy of thevalues.yamlfile, pass the secret name as a reference.githubConfigSecret: pre-defined-secret
{% data reusables.actions.actions-runner-controller-helm-chart-options %}