-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add quota-management-list-configuration
- Loading branch information
Showing
3 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
# A list of registered users given by their usernames irrespective whether they are under an organisation or not. | ||
# If a user is not in this or in the `registered_users_per_organisation` list, only EVAL dinosaur instances will be allowed. | ||
# For now, this only supports RH service account. | ||
# In the future it may support service accounts outside RH. | ||
# The structure of registered service accounts is: | ||
# - username: is the account of the user. The username must be unique | ||
# - max_allowed_instances: is the maximum number of instances this user can create. | ||
# Defaults to the global value of `max-allowed-instances` which has different values for distinct environments. | ||
registered_service_accounts: | ||
- username: [email protected] | ||
max_allowed_instances: 1 | ||
- username: [email protected] | ||
max_allowed_instances: 1 | ||
- username: [email protected] | ||
max_allowed_instances: 1 | ||
|
||
# A list of registered users per organisation (see structure below). The list current contains known organisations - add yours if it is missing. | ||
# If a user is not in this or in the `registered_service_accounts` list, only EVAL dinosaur instances will be allowed. | ||
# - "id": is the organisation id | ||
# - "any_user": "any_user": Controls whether to allow all users to create standard dinosaur instances with this organisation if "registered_users" list is empty. | ||
# - max_allowed_instances: is the maximum number of instances this orgnisation. Defaults to the global value of `max-allowed-instances` which has different values for distinct environments. | ||
# - "registered_users": A list of registered users for this organisation. If empty, no one is registered unless "any_user" is set to true. | ||
# - username: is the account of the user. The username must be unique within the organisation and across organisations. | ||
registered_users_per_organisation: | ||
# The Red Hat employee org | ||
- id: 11009103 | ||
any_user: true | ||
max_allowed_instances: 50 | ||
registered_users: [] | ||
# Static token's org_id, see config/static-token-payload.json. Used in E2E tests. | ||
- id: 16155304 | ||
any_user: true | ||
max_allowed_instances: 100 | ||
registered_users: [ ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters