Apply MATRIXX Engine Configuration Changes
Configuration of MATRIXX Engine is applied using a configuration source.
Procedure
- Update kubernetes/example-engine-config-sideloader/config/resource_create_config.info with your configuration changes.
-
If any necessary configuration questions are missing from
kubernetes/example-engine-config-sideloader/config/resource_create_config.info,
add them from the superset in create_config.info.
For more information, see the discussion about configuration input settings in MATRIXX Configuration.
- Change directory to the kubernetes directory.
-
Build your custom configuration image.
docker build -t sideloader_image_name ./example-engine-config-sideloader
-
Apply a tag.
docker tag sideloader_image_name your_image_repository/sideloader_image_name:version-tag
-
Add the image to your image repository.
docker push your_image_repository/sideloader_image_name:version-tag
For more information, see the discussion about obtaining and hosting images.
-
Update the
global.configurationSources.name.docker.image
property in your Helm values file with your image name and the new tag, similar to the following example:global: configurationSources: acme-engine-config: docker: image: sideloader_image_name:tag registry: acme-insecure-docker-register
-
If the configuration changes affect Network Enablers in the topology, delete the
Network Enabler pod(s).
kubectl delete pod network_enabler_pod_name
-
Apply the changes in your Helm values file (and, by extension, the configuration source) with the helm upgrade command:
helm upgrade installation_name chart -f helm_values_file.yaml