diff --git a/CHANGELOG.md b/CHANGELOG.md index 614bf7ac..f68c8882 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [4.2.2] - 2022-11-20 +### Fixed +- Performance issues with large value files + ## [4.2.1] - 2022-11-14 ### Fixed - fixes detection of SOPS YAML files with Windows line-endings (CR LF) @@ -257,7 +261,8 @@ Started a fork of https://github.com/zendesk/helm-secrets - Verbose output is now on stderr - Support all helm sub commands and plugins -[Unreleased]: https://github.com/kroepke/helm-secrets/compare/v4.2.1...HEAD +[Unreleased]: https://github.com/kroepke/helm-secrets/compare/v4.2.2...HEAD +[4.2.2]: https://github.com/jkroepke/helm-secrets/compare/v4.2.1...v4.2.2 [4.2.1]: https://github.com/jkroepke/helm-secrets/compare/v4.2.0...v4.2.1 [4.2.0]: https://github.com/jkroepke/helm-secrets/compare/v4.1.1...v4.2.0 [4.1.1]: https://github.com/jkroepke/helm-secrets/compare/v4.1.0...v4.1.1 diff --git a/scripts/backends/sops.sh b/scripts/backends/sops.sh index f11a4ed1..1bca11f6 100644 --- a/scripts/backends/sops.sh +++ b/scripts/backends/sops.sh @@ -13,9 +13,7 @@ backend_is_file_encrypted() { } backend_is_encrypted() { - stdin=$(cat -) - - [ "${stdin#*sops}" != "$stdin" ] && [ "${stdin#*mac}" != "$stdin" ] && [ "${stdin#*version}" != "$stdin" ] + grep -q 'mac.*,type:str]' - } backend_encrypt_file() {