mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-21 13:04:42 +02:00
Support helm-secrets v4.0.0 (#360)
Support helm-secret v4.0.0 Signed-off-by: KqLLL <lllkq546449541@gmail.com>
This commit is contained in:
@@ -25,8 +25,9 @@ export HELM_DATA_HOME="${helm_dir}/data"
|
||||
export HELM_HOME="${HELM_DATA_HOME}"
|
||||
export HELM_PLUGINS="${HELM_DATA_HOME}/plugins"
|
||||
export HELM_CONFIG_HOME="${helm_dir}/config"
|
||||
HELM_SECRETS_VERSION=3.5.0
|
||||
HELM_DIFF_VERSION=3.3.1
|
||||
HELM_SECRETS_DEFAULT_VERSION=3.15.0
|
||||
HELM_SECRETS_VERSION="${HELM_SECRETS_VERSION:-$HELM_SECRETS_DEFAULT_VERSION}"
|
||||
export GNUPGHOME="${PWD}/${dir}/.gnupg"
|
||||
export SOPS_PGP_FP="B2D6D7BBEC03B2E66571C8C00AD18E16CFDEF700"
|
||||
|
||||
@@ -194,7 +195,7 @@ if [[ helm_major_version -eq 3 ]]; then
|
||||
test_start "secretssops.2 - should succeed with secrets plugin"
|
||||
|
||||
info "Ensure helm-secrets is installed"
|
||||
${helm} plugin install https://github.com/jkroepke/helm-secrets --version v3.5.0
|
||||
${helm} plugin install https://github.com/jkroepke/helm-secrets --version v${HELM_SECRETS_VERSION}
|
||||
|
||||
info "Ensure helmfile succeed when helm-secrets is installed"
|
||||
${helmfile} -f ${dir}/secretssops.yaml -e direct build || fail "\"helmfile build\" shouldn't fail"
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
name: "secrets"
|
||||
version: "3.15.0"
|
||||
usage: "Secrets encryption in Helm for Git storing"
|
||||
description: |-
|
||||
This plugin provides secrets values encryption for Helm charts secure storing
|
||||
useTunnel: false
|
||||
command: "$HELM_PLUGIN_DIR/scripts/run.sh"
|
||||
platformCommand:
|
||||
- os: windows
|
||||
command: "cmd /c $HELM_PLUGIN_DIR\\scripts\\wrapper\\sh.cmd $HELM_PLUGIN_DIR\\scripts\\run.sh"
|
||||
|
||||
downloaders:
|
||||
- command: "scripts/run.sh downloader"
|
||||
protocols:
|
||||
- "sops"
|
||||
- "secret"
|
||||
- "secrets"
|
||||
- "secrets+gpg-import"
|
||||
- "secrets+gpg-import-kubernetes"
|
||||
- "secrets+age-import"
|
||||
- "secrets+age-import-kubernetes"
|
||||
@@ -0,0 +1,19 @@
|
||||
name: "secrets"
|
||||
version: "4.0.0"
|
||||
usage: "Secrets encryption in Helm for Git storing"
|
||||
description: |-
|
||||
This plugin provides secrets values encryption for Helm charts secure storing
|
||||
useTunnel: false
|
||||
command: "$HELM_PLUGIN_DIR/scripts/run.sh"
|
||||
platformCommand:
|
||||
- os: windows
|
||||
command: "cmd /c $HELM_PLUGIN_DIR\\scripts\\wrapper\\sh.cmd $HELM_PLUGIN_DIR\\scripts\\run.sh"
|
||||
|
||||
downloaders:
|
||||
- command: "scripts/run.sh downloader"
|
||||
protocols:
|
||||
- "secrets"
|
||||
- "secrets+gpg-import"
|
||||
- "secrets+gpg-import-kubernetes"
|
||||
- "secrets+age-import"
|
||||
- "secrets+age-import-kubernetes"
|
||||
Reference in New Issue
Block a user