@@ -179,6 +179,11 @@ const initCmd = new Command({
179179 . option ( 'app-proxy-ingress-class' , {
180180 describe : 'the ingress class that will be used by the app-proxy ingress' ,
181181 type : 'string' ,
182+ } )
183+ . option ( 'docker-daemon-access' , {
184+ describe : 'docker daemon access (default true)' ,
185+ default : true ,
186+ type : 'boolean' ,
182187 } ) ,
183188 handler : async ( argv ) => {
184189 let resumedInstallation = false ;
@@ -231,6 +236,7 @@ const initCmd = new Command({
231236 'app-proxy' : appProxy ,
232237 'app-proxy-host' : appProxyHost ,
233238 'install-monitor' : installMonitor ,
239+ 'docker-daemon-access' : dockerDaemonAccess ,
234240 } = _argv ;
235241
236242 let valuesObj ;
@@ -266,6 +272,9 @@ const initCmd = new Command({
266272 if ( appProxy && ! appProxyHost ) {
267273 handleError ( new Error ( 'no hostname provided' ) , 'cannot install app-proxy component without a hostname' , undefined , undefined , true ) ;
268274 }
275+ if ( _ . has ( valuesObj , 'dockerDaemonScheduler.userAccess' ) ) {
276+ dockerDaemonAccess = _ . get ( valuesObj , 'dockerDaemonScheduler.userAccess' )
277+ }
269278 }
270279 if ( ! url ) {
271280 url = DEFAULTS . URL ;
@@ -525,6 +534,9 @@ const initCmd = new Command({
525534 clusterName : kubeContextName ,
526535 runtimeEnvironmentName : reName ,
527536 agent : true ,
537+ dockerDaemonScheduler : {
538+ userAccess : dockerDaemonAccess ,
539+ } ,
528540 } ;
529541
530542 if ( buildNodeSelector ) {
0 commit comments