Skip to content

Commit d3b240c

Browse files
authored
fix: encryp toggling of apps (#877)
1 parent 037d3f1 commit d3b240c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/otomi-stack.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,11 @@ export default class OtomiStack {
638638
if (aplRecords.length === 0) {
639639
throw new Error(`Failed toggling apps ${ids.toString()}`)
640640
}
641-
await this.doDeployments(aplRecords, false)
641+
await this.doDeployments(
642+
aplRecords,
643+
true,
644+
ids.map((id) => `${this.getRepoPath()}/env/apps/secrets.${id}.yaml`),
645+
)
642646
}
643647

644648
getTeams(): Array<Team> {

0 commit comments

Comments
 (0)