Skip to content

Commit

Permalink
Use ghcr.io/k8snetworkplumbingwg registry in manifest
Browse files Browse the repository at this point in the history
Signed-off-by: Yury Kulazhenkov <[email protected]>
  • Loading branch information
ykulazhenkov committed Apr 19, 2024
1 parent 8692179 commit 98a60a4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
REGISTRY ?= quay.io/kubevirt
REGISTRY ?= ghcr.io/k8snetworkplumbingwg
IMAGE_TAG ?= latest
IMAGE_GIT_TAG ?= $(shell git describe --abbrev=8 --tags)

Expand Down
4 changes: 2 additions & 2 deletions cluster/sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ REGISTRY=$registry make docker-push

ovs_cni_manifest="./examples/ovs-cni.yml"

sed 's/quay.io\/kubevirt/registry:5000/g' examples/ovs-cni.yml | ./cluster/kubectl.sh delete --ignore-not-found -f -
sed 's/ghcr.io\/k8snetworkplumbingwg/registry:5000/g' examples/ovs-cni.yml | ./cluster/kubectl.sh delete --ignore-not-found -f -

# Delete daemon sets that were deprecated/renamed
./cluster/kubectl.sh -n kube-system delete --ignore-not-found ds ovs-cni-plugin-amd64
Expand All @@ -50,4 +50,4 @@ until [ $(check_deleted "-f $ovs_cni_manifest") -eq 1 ]; do sleep 1; done
until [ $(check_deleted "ds ovs-cni-plugin-amd64") -eq 1 ]; do sleep 1; done
until [ $(check_deleted "ds ovs-vsctl-amd64") -eq 1 ]; do sleep 1; done

sed 's/quay.io\/kubevirt/registry:5000/g' examples/ovs-cni.yml | ./cluster/kubectl.sh apply -f -
sed 's/ghcr.io\/k8snetworkplumbingwg/registry:5000/g' examples/ovs-cni.yml | ./cluster/kubectl.sh apply -f -
4 changes: 2 additions & 2 deletions examples/ovs-cni.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
effect: NoSchedule
initContainers:
- name: ovs-cni-plugin
image: quay.io/kubevirt/ovs-cni-plugin:latest
image: ghcr.io/k8snetworkplumbingwg/ovs-cni-plugin:latest
command: ["/bin/sh","-c"]
args:
- >
Expand All @@ -53,7 +53,7 @@ spec:
priorityClassName: system-node-critical
containers:
- name: ovs-cni-marker
image: quay.io/kubevirt/ovs-cni-plugin:latest
image: ghcr.io/k8snetworkplumbingwg/ovs-cni-plugin:latest
imagePullPolicy: IfNotPresent
securityContext:
privileged: true
Expand Down

0 comments on commit 98a60a4

Please sign in to comment.