19 lines
480 B
Bash
19 lines
480 B
Bash
#!/bin/env bash
|
|
HELM_VERSION=${HELM_VERSION:-"latest"};
|
|
|
|
if ! [[ -f "$(which helm 2>&1)" ]] && [[ -d "${HOME}/.asdf" ]]; then
|
|
asdf plugin add helm;
|
|
asdf install helm ${HELM_VERSION};
|
|
asdf local helm ${HELM_VERSION};
|
|
fi
|
|
|
|
if [[ -f "$(which helm 2>&1)" ]]; then
|
|
source <(helm completion bash)
|
|
fi
|
|
|
|
|
|
helm-setup-plugins() {
|
|
helm plugin install https://github.com/databus23/helm-diff
|
|
helm plugin install https://github.com/jkroepke/helm-secrets --version v3.12.0
|
|
}
|