Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
controllers: improve decryptor and add tests
- Refactored recursion while iterating over Kustomization files. References of files that have been visited are cached, and not visited again. In addition, symlinks are confirmed to not traverse outside the working directory. - Optimized various bits around (un)marshalling (encrypted) data, and YAML -> JSON -> YAML roundtrips are prevented where not required. - Added support for decrypting INI Kustomize EnvSource references using the dedicated SOPS store for the format. - Introduced support for decrypting Kustomize FileSources: https://pkg.go.dev/sigs.k8s.io/[email protected]/pkg/types#DataSources Signed-off-by: Hidde Beydals <[email protected]>
- Loading branch information