diff --git a/manifests/machineconfigcontroller/deployment.yaml b/manifests/machineconfigcontroller/deployment.yaml index 87ee54cac6..79eab35a98 100644 --- a/manifests/machineconfigcontroller/deployment.yaml +++ b/manifests/machineconfigcontroller/deployment.yaml @@ -15,6 +15,7 @@ spec: containers: - name: machine-config-controller image: {{.Images.MachineConfigController}} + command: ["/usr/bin/machine-config-controller"] args: - "start" - "--resourcelock-namespace={{.TargetNamespace}}" diff --git a/manifests/machineconfigdaemon/daemonset.yaml b/manifests/machineconfigdaemon/daemonset.yaml index edaf3c45ed..890cb40095 100644 --- a/manifests/machineconfigdaemon/daemonset.yaml +++ b/manifests/machineconfigdaemon/daemonset.yaml @@ -16,6 +16,7 @@ spec: containers: - name: machine-config-daemon image: {{.Images.MachineConfigDaemon}} + command: ["/usr/bin/machine-config-daemon"] args: - "start" resources: diff --git a/manifests/machineconfigserver/daemonset.yaml b/manifests/machineconfigserver/daemonset.yaml index f4fc48b0ea..2f5cbc3d80 100644 --- a/manifests/machineconfigserver/daemonset.yaml +++ b/manifests/machineconfigserver/daemonset.yaml @@ -16,6 +16,7 @@ spec: containers: - name: machine-config-server image: {{.Images.MachineConfigServer}} + command: ["/usr/bin/machine-config-server"] args: - "start" - "--apiserver-url={{.APIServerURL}}" diff --git a/pkg/operator/assets/bindata.go b/pkg/operator/assets/bindata.go index 2f7dfd63a0..fceff698a5 100644 --- a/pkg/operator/assets/bindata.go +++ b/pkg/operator/assets/bindata.go @@ -421,6 +421,7 @@ spec: containers: - name: machine-config-controller image: {{.Images.MachineConfigController}} + command: ["/usr/bin/machine-config-controller"] args: - "start" - "--resourcelock-namespace={{.TargetNamespace}}" @@ -570,6 +571,7 @@ spec: containers: - name: machine-config-daemon image: {{.Images.MachineConfigDaemon}} + command: ["/usr/bin/machine-config-daemon"] args: - "start" resources: @@ -923,6 +925,7 @@ spec: containers: - name: machine-config-server image: {{.Images.MachineConfigServer}} + command: ["/usr/bin/machine-config-server"] args: - "start" - "--apiserver-url={{.APIServerURL}}"