It is recommended to create secrets and default config with
mas-cli config generate > config.yaml (docs).
This works with shell, bash or similar tools and docker run.
In a kubernates only deployment it is not possible to create the config file.
Create the config file (> config.yaml) is part of the functional scope of a shell. The distroless container has no shell and cannot create the file.
IMO it would be good if mas-cli wrote the file itself.
It is recommended to create secrets and default config with
mas-cli config generate > config.yaml
(docs).This works with shell, bash or similar tools and
docker run
.In a kubernates only deployment it is not possible to create the config file. Create the config file (
> config.yaml
) is part of the functional scope of a shell. The distroless container has no shell and cannot create the file.IMO it would be good if
mas-cli
wrote the file itself.