Skip to content

Commit 07bcb69

Browse files
add RuntimeInCluster as default for runner init (#581)
1 parent 93d2f26 commit 07bcb69

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/interface/cli/commands/hybrid/init.cmd.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,13 @@ const initCmd = new Command({
150150
})
151151
.option('set-value', {
152152
describe: 'Set values for templates, example: --set-value LocalVolumesDir=/mnt/disks/ssd0/codefresh-volumes',
153+
type: array,
154+
default: [],
153155
})
154156
.option('set-file', {
155157
describe: 'Set values for templates from file, example: --set-file Storage.GoogleServiceAccount=/path/to/service-account.json',
158+
type: array,
159+
default: [],
156160
})
157161
.option('http-proxy', {
158162
describe: 'http proxy to be used in the runner',
@@ -626,6 +630,7 @@ const initCmd = new Command({
626630
});
627631

628632
// install runtime on cluster
633+
setValue.push('--RuntimeInCluster=true');
629634
installationPlan.addStep({
630635
name: 'install runtime',
631636
func: async () => {

0 commit comments

Comments
 (0)