MAIA_build_images script#

Script to Build MAIA Docker Images using Kaniko. The specific MAIA configuration is specified by setting the corresponding --maia-config-file, and the cluster configuration is specified by setting the corresponding --cluster-config.

usage: MAIA_build_images [-h] --cluster-config CLUSTER_CONFIG --config-folder
                         CONFIG_FOLDER [--registry-path REGISTRY_PATH]
                         --project-id PROJECT_ID
                         [--cluster-address CLUSTER_ADDRESS]
                         [--build-custom-images BUILD_CUSTOM_IMAGES] [-v]

Named Arguments#

--cluster-config

YAML configuration file used to extract the cluster configuration.

--config-folder

Configuration Folder where to locate (and temporarily store) the MAIA configuration files.

--registry-path

Optional path to the Docker registry. If not provided, the default is empty.

Default: “”

--project-id

Project ID to use for ArgoCD. This is used to identify the project in the cluster.

--cluster-address

Optional address of the cluster. If not provided, the default is https://kubernetes.default.svc

Default: “https://kubernetes.default.svc

--build-custom-images

Build the custom images from the given YAML file.

-v, --version

show program’s version number and exit

Example call:

MAIA_build_images --cluster-config /PATH/TO/cluster_config.yaml --config-folder /PATH/TO/config_folder