-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix container command quotes in macvtap.yaml.in #27
Conversation
a6b4659
to
28b96de
Compare
The commit message is missing the why |
28b96de
to
0c356b6
Compare
Use double quotes instead of single quotes in: command: ['cp', '/macvtap-cni', '/host/opt/cni/bin/macvtap'] because we are using single quotes around template variables and having single quotes in the above command list blocks us from using simple sed to remove all single quotes in the entire yaml template. Signed-off-by: Radim Hrazdil <[email protected]>
0c356b6
to
4adfdef
Compare
@phoracek Updated commit message |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: phoracek, rhrazdil The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/release-note-none |
It contains the following PRs: - Change vbom.ml/util dependency with github.com/fvbommel/util [0] Fixes vbom dependency - Adding quotes in macvtap.yaml.in [1] Allows using yq to edit macvtap.yaml.in - Fix container command quotes in macvtap.yaml.in [2] Fixes single quotes in command list [0] kubevirt/macvtap-cni#25 [1] kubevirt/macvtap-cni#24 [2] kubevirt/macvtap-cni#27 Signed-off-by: Radim Hrazdil <[email protected]>
* Bump macvtap dep to v0.3.1 It contains the following PRs: - Change vbom.ml/util dependency with github.com/fvbommel/util [0] Fixes vbom dependency - Adding quotes in macvtap.yaml.in [1] Allows using yq to edit macvtap.yaml.in - Fix container command quotes in macvtap.yaml.in [2] Fixes single quotes in command list [0] kubevirt/macvtap-cni#25 [1] kubevirt/macvtap-cni#24 [2] kubevirt/macvtap-cni#27 Signed-off-by: Radim Hrazdil <[email protected]> * Add PlacementConfiguration for macvtap Use Workloads PlacementConfiguration from NetworkAddonsConfig in macvtap pods. By default, macvtap pods will be scheduled on all nodes. Signed-off-by: Radim Hrazdil <[email protected]>
This is a followup to PR kubevirt#27 [0] [0] kubevirt#27 Signed-off-by: Radim Hrazdil <[email protected]>
* Bump github.com/aktau/github-release to v0.8.1 Signed-off-by: Radim Hrazdil <[email protected]> * Bump github.com/containernetworking/cni to v0.8.0 Signed-off-by: Radim Hrazdil <[email protected]> * Bump kubernetes to v0.19.1 Signed-off-by: Radim Hrazdil <[email protected]> * make vendor for new go.mod Signed-off-by: Radim Hrazdil <[email protected]> * adjust e2e tests to client-go 1.18 Signed-off-by: Radim Hrazdil <[email protected]> * Fix test verbose flag setting Signed-off-by: Radim Hrazdil <[email protected]> * Flags should be parsed in BeforeSuite Test run otherwise fails due to unrecognized arguments Signed-off-by: Radim Hrazdil <[email protected]> * Update manifests based on new template This is a followup to PR #27 [0] [0] #27 Signed-off-by: Radim Hrazdil <[email protected]> * Bump Go version to 1.13 Signed-off-by: Radim Hrazdil <[email protected]>
Use double quotes instead of single quotes in:
command: ["cp", "/macvtap-cni", "/host/opt/cni/bin/macvtap"]
What this PR does / why we need it:
Special notes for your reviewer:
Release notes: