Skip to content

Commit

Permalink
Bump macvtap dep to v0.3.0
Browse files Browse the repository at this point in the history
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

[0] kubevirt/macvtap-cni#25
[1] kubevirt/macvtap-cni#24

Signed-off-by: Radim Hrazdil <[email protected]>
  • Loading branch information
Radim Hrazdil committed Sep 10, 2020
1 parent 983d1c8 commit a5731c0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ components:
metadata: "v0.12.0"
macvtap-cni:
url: "https://github.com/kubevirt/macvtap-cni"
commit: "14e5a3c7bf516bd4542366a78b7af02f04230ac5"
commit: "1c618bd38e9923b9595eb87e08765131c98c0f7f"
branch: "master"
update-policy: "tagged"
metadata: "v0.2.0"
metadata: "v0.3.0"
12 changes: 6 additions & 6 deletions data/macvtap/002-macvtap-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ apiVersion: apps/v1
kind: DaemonSet
metadata:
name: macvtap-cni
namespace: {{ .Namespace }}
namespace: '{{ .Namespace }}'
spec:
selector:
matchLabels:
Expand All @@ -29,8 +29,8 @@ spec:
envFrom:
- configMapRef:
name: macvtap-deviceplugin-config
image: {{ .MacvtapImage }}
imagePullPolicy: {{ .ImagePullPolicy }}
image: '{{ .MacvtapImage }}'
imagePullPolicy: '{{ .ImagePullPolicy }}'
resources:
requests:
cpu: "60m"
Expand All @@ -43,8 +43,8 @@ spec:
initContainers:
- name: install-cni
command: ['cp', '/macvtap-cni', '/host/opt/cni/bin/macvtap']
image: {{ .MacvtapImage }}
imagePullPolicy: {{ .ImagePullPolicy }}
image: '{{ .MacvtapImage }}'
imagePullPolicy: '{{ .ImagePullPolicy }}'
securityContext:
privileged: true
volumeMounts:
Expand All @@ -57,4 +57,4 @@ spec:
path: /var/lib/kubelet/device-plugins
- name: cni
hostPath:
path: {{ .CniMountPath }}
path: '{{ .CniMountPath }}'
2 changes: 1 addition & 1 deletion pkg/components/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const (
NMStateHandlerImageDefault = "quay.io/nmstate/kubernetes-nmstate-handler@sha256:444ab3349882ac58f594396529708146993b831c2e3e1d524eaa12e17e09f150"
OvsCniImageDefault = "quay.io/kubevirt/ovs-cni-plugin@sha256:4101c52617efb54a45181548c257a08e3689f634b79b9dfcff42bffd8b25af53"
OvsMarkerImageDefault = "quay.io/kubevirt/ovs-cni-marker@sha256:0f08d6b1550a90c9f10221f2bb07709d1090e7c675ee1a711981bd429074d620"
MacvtapCniImageDefault = "quay.io/kubevirt/macvtap-cni@sha256:2606ac545cc69af5766d929bd82f86df5098a5e1c8ac26cfd2cdf99c46da8067"
MacvtapCniImageDefault = "quay.io/kubevirt/macvtap-cni@sha256:667553f83bd35351c576673d898865c774a6f59a123c28e794bae240c00ab26f"
)

type AddonsImages struct {
Expand Down

0 comments on commit a5731c0

Please sign in to comment.