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] --maia-config-file MAIA_CONFIG_FILE
--cluster-config CLUSTER_CONFIG --config-folder
CONFIG_FOLDER [--registry-path REGISTRY_PATH]
[--project-id {maia-private,maia-base}]
[--build-version-file BUILD_VERSION_FILE]
[--cluster-address CLUSTER_ADDRESS] [-v]
Named Arguments#
- --maia-config-file
YAML configuration file used to extract MAIA configuration.
- --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
Possible choices: maia-private, maia-base
Project ID to use for ArgoCD. This is used to identify the project in the cluster.
Default: “maia-base”
- --build-version-file
Optional file containing the version of the Docker Images to build. If not provided, the default version is 1.0
Default: “https://raw.githubusercontent.com/kthcloud/MAIA/master/MAIA/configs/docker_versions.yaml”
- --cluster-address
Optional address of the cluster. If not provided, the default is https://kubernetes.default.svc
Default: “https://kubernetes.default.svc”
- -v, --version
show program’s version number and exit
Example call:
MAIA_build_images --maia-config-file /PATH/TO/maia_config.yaml --cluster-config /PATH/TO/cluster_config.yaml
--config-folder /PATH/TO/config_folder