Step 1: Create a service account template
Use the registry template to create a service account template. The following examples use a service account saved with the name,custom-sa.
Step 2: Disable automatic service account creation
- Disable Astronomer from creating Roles, RoleBindings, and other SAs in the namespace by setting the global config
rbacEnabledandserviceAccount.createtofalseglobally:
- You must also set
serviceAccount.createtofalsefor each component that will use a custom SA:commander,configsyncer,houston, andhouston-worker.