Skip to content

Commit

Permalink
Remove helm secrets version to avoid a conflict with helm version
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke committed Aug 1, 2023
1 parent f680e32 commit 4d865a4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed
- Avoid quoting issues with literals and `vals` backend
- Remove `helm secrets version` to avoid a conflict with `helm version`

## [4.4.2] - 2023-03-11

Expand Down
2 changes: 1 addition & 1 deletion scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ while true; do
help_usage
break
;;
--version | -v | version)
--version | -v)
# shellcheck source=scripts/commands/version.sh
. "${SCRIPT_DIR}/commands/version.sh"
version
Expand Down
6 changes: 3 additions & 3 deletions tests/unit/helm-plugin.bats
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ load '../bats/extensions/bats-file/load'
assert_output --partial "${VERSION}"
}

@test "helm-plugin: helm secrets version" {
@test "helm-plugin: helm secrets version + HELM_SECRETS_WRAPPER_ENABLED" {
VERSION=$(grep version "${GIT_ROOT}/plugin.yaml" | cut -d'"' -f2) >&2

run "${HELM_BIN}" secrets version
run env HELM_SECRETS_WRAPPER_ENABLED=true "${GIT_ROOT}/scripts/wrapper/helm.sh" version
assert_success
assert_output --partial "${VERSION}"
assert_output --partial "v3"
}

0 comments on commit 4d865a4

Please sign in to comment.