Step 4 - Nais post terraforming¶
Configure OAuth login for web frontend¶
Set up an OAuth client for Console in the tenant management project.
- Go to https://console.cloud.google.com
- Choose project
-> nais-management -> nais-management - Go to APIs ans Service -> OAuth consent screen
- Internal -> create
- App name:
nais management
- User support email:
admin@<tenant-domain>
- Developer Contact email:
admin@<tenant-domain>
- Save and continue (x2)
- Go to APIs ans Service -> Credentials
- Click Create Credentials -> OAuth client ID
- Select type Web Application
- Name:
Console
- Authorized redirect URI:
http://console.<tenant-name>.cloud.nais.io/oauth2/callback
- Set Name and Authorized redirect URIs
- Create
- Copy client id and secret and give to NAIS-team
Add the API reconcilers user to the billing account¶
- Billing -> Account Management -> Right side menu (Show info panel) -> Add principal
Add nais-api-reconcilers@<MANAGEMENT_PROJECT_ID>.iam.gserviceaccount.com
as Billing Account User
Add new tenant to the documentation repo¶
- in .github/workflows/main.yml add the new tenant to the
tenants
list (two places) - in docs/workloads/reference/environments.md, add a new section for the tenant with the correct content.