@@ -179,6 +179,11 @@ const initCmd = new Command({
179
179
. option ( 'app-proxy-ingress-class' , {
180
180
describe : 'the ingress class that will be used by the app-proxy ingress' ,
181
181
type : 'string' ,
182
+ } )
183
+ . option ( 'docker-daemon-access' , {
184
+ describe : 'docker daemon access (default true)' ,
185
+ default : true ,
186
+ type : 'boolean' ,
182
187
} ) ,
183
188
handler : async ( argv ) => {
184
189
let resumedInstallation = false ;
@@ -231,6 +236,7 @@ const initCmd = new Command({
231
236
'app-proxy' : appProxy ,
232
237
'app-proxy-host' : appProxyHost ,
233
238
'install-monitor' : installMonitor ,
239
+ 'docker-daemon-access' : dockerDaemonAccess ,
234
240
} = _argv ;
235
241
236
242
let valuesObj ;
@@ -266,6 +272,9 @@ const initCmd = new Command({
266
272
if ( appProxy && ! appProxyHost ) {
267
273
handleError ( new Error ( 'no hostname provided' ) , 'cannot install app-proxy component without a hostname' , undefined , undefined , true ) ;
268
274
}
275
+ if ( _ . has ( valuesObj , 'dockerDaemonScheduler.userAccess' ) ) {
276
+ dockerDaemonAccess = _ . get ( valuesObj , 'dockerDaemonScheduler.userAccess' )
277
+ }
269
278
}
270
279
if ( ! url ) {
271
280
url = DEFAULTS . URL ;
@@ -525,6 +534,9 @@ const initCmd = new Command({
525
534
clusterName : kubeContextName ,
526
535
runtimeEnvironmentName : reName ,
527
536
agent : true ,
537
+ dockerDaemonScheduler : {
538
+ userAccess : dockerDaemonAccess ,
539
+ } ,
528
540
} ;
529
541
530
542
if ( buildNodeSelector ) {
0 commit comments