File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -141,14 +141,19 @@ def capz():
141141 tilt_dockerfile_header ,
142142 ])
143143
144+ entrypoint = ["sh" , "/start.sh" , "/manager" ]
145+ extra_args = p .get ("extra_args" )
146+ if extra_args :
147+ entrypoint .extend (extra_args )
148+
144149 # Set up an image build for the provider. The live update configuration syncs the output from the local_resource
145150 # build into the container.
146151 docker_build (
147152 ref = "gcr.io/k8s-staging-cluster-api-azure/cluster-api-azure-controller" ,
148153 context = "./.tiltbuild/" ,
149154 dockerfile_contents = dockerfile_contents ,
150155 target = "tilt" ,
151- entrypoint = [ "sh" , "/start.sh" , "/manager" ] ,
156+ entrypoint = entrypoint ,
152157 only = "manager" ,
153158 live_update = [
154159 sync ("./.tiltbuild/manager" , "/manager" ),
You can’t perform that action at this time.
0 commit comments