-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Following 75cfd31 there is a race condition when using projman_load_config.py to create projects in bulk.
The OIDC client secret injection in context, for all apps except the data browser, relies on the secret deployed by the projman chart. While this is fine when creating a project manually and adding subsequent apps, because projman gets deployed by the API when creating the project, when installing apps in bulk right after creation (as is the case when using projman_load_config.py, it happens that some apps get deployed with context.project.oidc_client_secret still being None which subsequently breaks logins.
Solution is likely to just special case projman to allow that context value to be empty for that deployment, but make the API retry a few times for other apps rather than accepting the empty context value.