- Tembo installed, with release
temboin namespacetemboin the examples. - To create the app under a GitHub organization: owner or GitHub App manager of that organization.
Step 1: Create the GitHub App
Print the install notes:For Dependabot alert triggers, also give the app the Dependabot alerts permission and the Dependabot alert event (see Permissions).
Step 2: Generate a client secret and a private key
On the app’s settings page:- Under Client secrets, click Generate a new client secret and copy it. GitHub shows it only once.
- Under Private keys, click Generate a private key. GitHub downloads a
.pemfile.
https://github.com/apps/<app slug>.
Step 3: Give Tembo the credentials
Store them in a Secret. Replace each<...>, including the angle brackets:
BOT_ID is a number: null means the slug is wrong. Tembo’s commits are attributed to clientUserEmail.
Then reference the Secret in your values.yaml, and apply the change with helm upgrade:
All Secret keys
All Secret keys
Values in the Secret override the same keys under
github in your Helm values. To render the chart with helm template, see GitOps.Step 4: Connect GitHub
Once you’ve signed in to Tembo, connect GitHub from Tembo, not from GitHub: Tembo only accepts an installation that starts in Tembo.- In Tembo, go to Settings > Integrations and connect GitHub.
- Choose the organization or account, and All repositories or specific ones, then click Install and authorize the app.
- Enable the repositories Tembo should work on. You can change them later in Settings > Repositories.
Create the app by hand
Use this if you can’t read the install notes, for example when a GitOps tool renders the chart. Open New GitHub App:https://github.com/organizations/<your-org>/settings/apps/new for an organization, or GitHub > Settings > Developer settings > GitHub Apps > New GitHub App for your account. Fill in:
Then continue from Step 2, and add your webhook secret to the Secret in Step 3 as
webhookSecret.
Rotate credentials
- Generate a new client secret or private key on the app’s settings page.
- Update the Secret with the same
kubectl create secret ... | kubectl applycommand. - Apply the change with
helm upgrade, and wait for the controller to replace the agent hosts. - Delete the old client secret or private key on GitHub.
Next
Slack and others
Connect Slack, Linear, Jira and more.