diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2021-02-18 19:09:00 +0100 |
---|---|---|
committer | Krzysztof Opasiak <k.opasiak@samsung.com> | 2021-02-18 19:11:16 +0100 |
commit | 2a4b47f9f332df8980a69f169361038f60dceb63 (patch) | |
tree | 395e2a24efb674a00f836ad3a4e4bf3610294a2b /kubernetes/config | |
parent | 69e8c90cb3c8171d397319b4339b3ce79da07b9c (diff) |
[GENERAL] Fix setting of HELM_VER variable
It turns out that helm v2 and helm v3 uses different format for the
helm version command. If we use v3 version HELM_VER variable is empty
when run on a system with helm v2.
To fix this let's add a fallback and if we failed to obtain correct
version information using v3 format then fallback to v2 one.
Issue-ID: OOM-1
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I87757c9eadedfe197ec31f5c2814fa9eb894329a
Diffstat (limited to 'kubernetes/config')
0 files changed, 0 insertions, 0 deletions