diff --git a/bindata/manifests/daemon/daemonset.yaml b/bindata/manifests/daemon/daemonset.yaml index 9c451e0c2..8fc58806c 100644 --- a/bindata/manifests/daemon/daemonset.yaml +++ b/bindata/manifests/daemon/daemonset.yaml @@ -42,10 +42,7 @@ spec: initContainers: - name: sriov-cni image: {{.SRIOVCNIImage}} - command: - - /bin/sh - - -c - - cp /usr/bin/sriov /host/opt/cni/bin/ + args: ["--no-sleep"] securityContext: privileged: true resources: @@ -55,12 +52,12 @@ spec: volumeMounts: - name: cnibin mountPath: /host/opt/cni/bin + - name: os-release + mountPath: /host/etc/os-release + readOnly: true - name: sriov-infiniband-cni image: {{.SRIOVInfiniBandCNIImage}} - command: - - /bin/sh - - -c - - cp /usr/bin/ib-sriov /host/opt/cni/bin/ + args: ["--no-sleep"] securityContext: privileged: true resources: @@ -70,6 +67,9 @@ spec: volumeMounts: - name: cnibin mountPath: /host/opt/cni/bin + - name: os-release + mountPath: /host/etc/os-release + readOnly: true {{- if .UsedSystemdMode}} - name: sriov-service-copy image: {{.Image}} @@ -136,3 +136,7 @@ spec: - name: cnibin hostPath: path: {{.CNIBinPath}} + - name: os-release + hostPath: + path: /etc/os-release + type: File