The broker currently supports an environment variable PROVIDERS_WHITELIST_FILE which is the path to a file containing the cloud providers and cluster instance sizes you wish to make available from your broker endpoint.
In order to support Cloud Foundry environments the broker should also be able to accept this json directly from an environment variable. We also want to refactor the name of this feature to something more appropriate.
Tasks:
Add new env variable to the broker ALLOWED_PROVIDERS which contains either path to file or json
Deprecate the existing env, but make it work the same for backward compatibility.
The broker currently supports an environment variable
PROVIDERS_WHITELIST_FILE
which is the path to a file containing the cloud providers and cluster instance sizes you wish to make available from your broker endpoint.For example
In order to support Cloud Foundry environments the broker should also be able to accept this json directly from an environment variable. We also want to refactor the name of this feature to something more appropriate.
Tasks:
ALLOWED_PROVIDERS
which contains either path to file or json