-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for user-specified instance or namespace configuration at installation-time #632
Comments
Use case is user-provided info for application installation time:
We'll load env.json into |
Need to support multiple files with the objects merged (use case: non-secrets and secrets) |
As part of this, need to fix Invoke getting access to the params array. |
To get access to the params array, we'll make a singleton (probably %IPM.General.InstallContext) API and have params available there. (I'm not sure if there's already a singleton with params?) |
@isc-tleavitt wrote:
Have you considered tools/workflows like https://getsops.io/ to manage secrets in configuration files? SOPS is an example of one tool that is widely used e.g. in k8s deployments and we're also using it with our in-house IRIS namespace configuration framework. I.e. we have a deployment process that decrypts the secrets in the configuration files just before the deployment so our (ObjectScript) framework doesn't have to care about it at all. I hope we talking about the same subject :) |
We should probably enforce a JSON structure such that the top level keys are package names, because {
"my-package": { "key1": "value1" },
"one-dependency": { "key2": "value2" },
"another-dependency": { "key3": "value3" }
} |
Per conversations with HSOPS, we are asking for a single command that can install/load a module into a namespace and then perform configuration in that namespace based on a user-provided "env" file that provides a better structure than lots of -D arguments.
The text was updated successfully, but these errors were encountered: