|
| 1 | +// @flow |
| 2 | + |
| 3 | +import type { Config } from './src/types/Config' |
| 4 | + |
| 5 | +const conf: Config = { |
| 6 | + |
| 7 | + // The list of pages which will not appear in the navigation menu |
| 8 | + // Remove or comment to enable them |
| 9 | + disabledPages: [ |
| 10 | + 'planning', |
| 11 | + 'users', |
| 12 | + 'projects', |
| 13 | + ], |
| 14 | + |
| 15 | + // Whether to show the user domain name input when logging in |
| 16 | + showUserDomainInput: false, |
| 17 | + |
| 18 | + // The default user domain name used for logging in |
| 19 | + defaultUserDomain: 'default', |
| 20 | + |
| 21 | + // Shows the 'Use Current User/Project/Domain for Authentification' switch |
| 22 | + // when creating a new openstack endpoint |
| 23 | + showOpenstackCurrentUserSwitch: false, |
| 24 | + |
| 25 | + // Whether to use Barbican secrets when creating a new endpoint |
| 26 | + useBarbicanSecrets: true, |
| 27 | + |
| 28 | + // The timeout between polling requests |
| 29 | + requestPollTimeout: 5000, |
| 30 | + |
| 31 | + // The list of providers which offer storage listing |
| 32 | + storageProviders: ['openstack', 'azure'], |
| 33 | + |
| 34 | + // The list of providers which offer source options |
| 35 | + sourceOptionsProviders: ['aws'], |
| 36 | + |
| 37 | + // - Specifies the `limit` for each provider when listing all its VMs for pagination. |
| 38 | + // - If the provider is not in this list, the 'default' value will be used. |
| 39 | + // - If the `default` value is lower than the number of instances that fit into a page, the latter number will be used. |
| 40 | + // - `Infinity` value means no `limit` will be used, i.e. all VMs will be listed. |
| 41 | + instancesListBackgroundLoading: { default: 10, ovm: Infinity }, |
| 42 | + |
| 43 | + // A list of providers for which `destination-options` API call(s) will be made |
| 44 | + // If the item is just a string with the provider name, only one API call will be made |
| 45 | + // If the item has `envRequiredFields`, an additional API call will be made once the specified fields are filled |
| 46 | + providersWithExtraOptions: [ |
| 47 | + 'openstack', |
| 48 | + 'oracle_vm', |
| 49 | + { |
| 50 | + name: 'azure', |
| 51 | + envRequiredFields: ['location', 'resource_group'], |
| 52 | + }, |
| 53 | + { |
| 54 | + name: 'oci', |
| 55 | + envRequiredFields: ['compartment', 'availability_domain'], |
| 56 | + }, |
| 57 | + ], |
| 58 | +} |
| 59 | + |
| 60 | +export const config = conf |
0 commit comments