Skip to content

Commit 40f3c97

Browse files
authored
fix: use file selector for avoiding parallel processing (#2797)
1 parent 6ac55b2 commit 40f3c97

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

helmfile.tpl/helmfile-core.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
helmfiles:
2+
- path: ../helmfile.d/*.gotmpl
3+
selectors:
4+
- app=core

src/cmd/install.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@ export const installAll = async () => {
9999
d.info('Deploying charts containing label app=core')
100100
await hf(
101101
{
102-
labelOpts: ['app=core'],
102+
// Includes a selector on labels app=core.
103+
// Using file to circumvent parallel processing, which
104+
// cannot handle dependencies across multiple files.
105+
fileOpts: 'helmfile.tpl/helmfile-core.yaml',
103106
logLevel: logLevelString(),
104107
args: hfArgs,
105108
},

0 commit comments

Comments
 (0)