I’ve been using the following Rancher CLI command to automate container deployments:
rancher catalog install Catalog/Stack:version -a answer.txt
This command works great for me for non-infrastructure containers. However, when I try to implement this for infrastructure containers (i.e. rancher catalog install --system Catalog/Stack:version -a answer.txt) I get the following response:
’ FATA Exactly one argument is required '.
This problem occurs even when I use the automatically generated answers file that Rancher provides. I’ve been able to bypass this by accepting the default value when there is a single variable with:
echo -ne ‘\n’ | rancher catalog install --system Catalog/Stack:version
Methods similar to this fail, however, when there are multiple variables. Please let me know if anyone has any ideas. Thanks.