Skip to content

Commit

Permalink
fix: support sops.yaml file by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian May committed Nov 29, 2024
1 parent 1b1f5ad commit 94b63c9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,13 @@ fn create_installation(
format: ValuesFormat::PlainText,
});
}
let sops_file = release.dir.join("sops.yaml");
if sops_file.is_file() {
values_files.push(ValuesFile {
path: sops_file,
format: ValuesFormat::Sops,
});
}

for override_values_file in release.config.override_values_files {
let path = release.dir.join(&override_values_file.path);
Expand Down

0 comments on commit 94b63c9

Please sign in to comment.