Skip to content

Commit

Permalink
Fix container command quotes in macvtap.yaml.in
Browse files Browse the repository at this point in the history
Use double quotes instead of single quotes in:
command: ["cp", "/macvtap-cni", "/host/opt/cni/bin/macvtap"]
  • Loading branch information
Radim Hrazdil committed Sep 10, 2020
1 parent 1c618bd commit a6b4659
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/macvtap.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
hostPID: true
containers:
- name: macvtap-cni
command: [ "/macvtap-deviceplugin", "-v", "3", "-logtostderr"]
command: ["/macvtap-deviceplugin", "-v", "3", "-logtostderr"]
envFrom:
- configMapRef:
name: macvtap-deviceplugin-config
Expand All @@ -33,7 +33,7 @@ spec:
mountPath: /var/lib/kubelet/device-plugins
initContainers:
- name: install-cni
command: ['cp', '/macvtap-cni', '/host/opt/cni/bin/macvtap']
command: ["cp", "/macvtap-cni", "/host/opt/cni/bin/macvtap"]
image: '{{ .MacvtapImage }}'
imagePullPolicy: '{{ .ImagePullPolicy }}'
securityContext:
Expand Down

0 comments on commit a6b4659

Please sign in to comment.