arlon
arlon copied to clipboard
"arlon install" inconsistent with "arlon verify" (unnecessarily downloads CLI programs)
My argocd and kubectl are already installed in $HOME/bin which is also in my $PATH.
arlon verify
confirms this, and reports that only CAPI setup needs to be performed, and implies I should run the install command.
$ arlon verify
Successfully verified kubectl status
Successfully verified argocd status
Successfully verified git status
x Error while verifying capi services status capi services are not installed or missing in your $PATH
Successfully verified arlon namespace is present
The check for Arlon prerequisites failed. Please install the missing tool(s).
But arlon install
downloads and installs the CLI tools because they're not found in the default location, which is NOT what I want:
$ arlon install
! kubectl is not installed
→ Installing kubectl
✓ Successfully installed kubectl
✓ git is already present in the path
! argocd cli is not installed
→ Installing argocd
✓ Successfully installed argocd
Attempting to install with infrastructure providers [aws docker] and bootstrap providers []
AWS_SESSION_TOKEN environment variable not set. MFA enabled accounts will not work.. Continue?[y/n]y
Error: AWS_SSH_KEY_NAME environment variable not set
Aha! Link: https://pf9.aha.io/features/ARLON-420