To use every part of 3lv
, you need to have these dependencies installed:
- git: used for several commands.
- Docker: used for building containers.
- Helm: used for deploying containers.
- kubectl: used for deploying containers.
- Trivy: used for scanning containers.
- Azure CLI: used for pushing containers to Azure Container Registry and deploying containers to Azure Kubernetes Service.
- Google Cloud SDK: used for deploying containers to Google Kubernetes Engine.
- cookiecutter: used for creating new projects; if pipx is installed,
3lv
prompt you to install cookiecutter for you.
Any of these dependencies can be skipped if you don't use the subcommands that require them.
If you want to push to a registry, you need to be authenticated to that registry.
This is Elvia's default registry.
3lv
will automatically log you in if you have the Azure CLI installed.
Install the GitHub CLI.
Use the following command (with your GitHub username) to login:
gh auth token | docker login ghcr.io --username your-github-username --password-stdin