======================== Helm Versions in Hubploy ======================== * `Helm Versions Present by Default`_ * `Using a Custom Version of Helm`_ * `Local Usage`_ * `GitHub Action Usage`_ Helm Versions Present by Default ================================ The ``hubploy`` Docker image has `Helm `_ v2.16.9 and v3.2.4 installed by default. This may depend on the specific version of ``hubploy`` that is installed. Versions can be found in the `Dockerfile `_ present in the base folder of the `hubploy `_ repository. There isn't a version matrix to help find which versions of ``helm`` ship with certain versions of ``hubploy``. You can look at the ``Dockerfile``'s commit history or just use the most recent version of ``hubploy``, which has the versions listed above. Using a Custom Version of Helm ============================== To use your own installed version of ``helm``, set the environment variable ``HELM_EXECUTABLE``. ``hubploy`` will pick up the value from this environment variable to use when running ``helm`` commands. It will default to ``helm``, ie. v2.16.9, if nothing else is installed. You can find the line of code that does this `here `_. Local Usage =========== You can use several versions of ``helm`` in local usage of ``hubploy`` This does require that you have installed ``helm`` or are using the ``hubploy`` Docker image on your local machine. To use this environment variable on a local installation of ``hubploy``, use the following command from your terminal: .. code:: bash export HELM_EXECUTABLE=~/absolute/path/to/helm/binary For example, if you wanted to use ``helm`` v3 locally and had installed and moved it to ``/usr/local/bin/helm3``, you would run the following from your terminal: .. code:: bash export HELM_EXECUTABLE=/usr/local/bin/helm3 If you already have ``helm`` v2 installed, no extra steps are necessary. GitHub Action Usage =================== To use this environment variable in a GitHub Action, use the following lines in your workflow file: .. code:: yaml env: HELM_EXECUTABLE: /absolute/path/to/helm/binary More information on this second option can be found on the `Environment variables page `_ on GitHub Docs.