There should be a way to configure a running instance using a YAML configuration file and / or using a REST API. Currently, a CPF file cannot modify namespace specific settings like schemas, production default settings, credentials and so on. Instead these settings has to be configured manually.
I've created a solution already to demonstrate this. The solution can load a YAMLA file that contains settings for a instance and configure a running instance. This is especially useful when used together in CI/CD pipelines and with containers. The solution contains also a REST api that can load properties on a running instance.
We also have similar but very rudimentary internal ObjectScript library that converts JSON configuration into several IRIS ObjectScript API calls. Currently it supports the subset of external service registry, oauth, iop production and task settings we need. It also implements general purpose application configuration pattern all our applications can use (arbitrary JSON configuration is stored into ens lookup table were it can be queried).
The closest existing solution is most likely the Installation Manifest.
This can be used for installation and upgrades.
I am not certain if it is recommended for container deployments and whether or not improvements could be made for container deployments.
Hi Kari,
have you looked at the Configuration Merge File? This mechanism offers a lot of flexibility for adapting the configuration of a running instance, and is used heavily in our own cloud deployment pipelines.