Skip to content

Commit

Permalink
Merge pull request #293 from jkroepke/performance-sops
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke authored Nov 20, 2022
2 parents 0a6e9a4 + c1ae43a commit 4f2d458
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions scripts/backends/sops.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 4f2d458

Please sign in to comment.