Skip to content
Snippets Groups Projects
Unverified Commit 4f2d458a authored by Jan-Otto Kröpke's avatar Jan-Otto Kröpke Committed by GitHub
Browse files

Merge pull request #293 from jkroepke/performance-sops

parents 0a6e9a41 c1ae43a0
No related branches found
Tags v4.2.2
No related merge requests found
......@@ -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
......
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment