Skip to content

Commit

Permalink
bump k8s version to v1.26.6 (#2973)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzujian authored Jun 21, 2023
1 parent cc7768b commit 7db9ff1
Show file tree
Hide file tree
Showing 6 changed files with 171 additions and 149 deletions.
44 changes: 29 additions & 15 deletions .github/workflows/build-x86-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,9 @@ jobs:
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-

- name: Install kind
uses: helm/kind-action@v1
uses: helm/kind-action@v1.7.0
with:
version: v0.20.0
install_only: true

- name: Install ginkgo
Expand Down Expand Up @@ -458,8 +459,9 @@ jobs:
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-

- name: Install kind
uses: helm/kind-action@v1
uses: helm/kind-action@v1.7.0
with:
version: v0.20.0
install_only: true

- name: Install ginkgo
Expand Down Expand Up @@ -601,8 +603,9 @@ jobs:
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-

- name: Install kind
uses: helm/kind-action@v1
uses: helm/kind-action@v1.7.0
with:
version: v0.20.0
install_only: true

- name: Install ginkgo
Expand Down Expand Up @@ -721,8 +724,9 @@ jobs:
fi
- name: Install kind
uses: helm/kind-action@v1
uses: helm/kind-action@v1.7.0
with:
version: v0.20.0
install_only: true

- name: Install ginkgo
Expand Down Expand Up @@ -858,8 +862,9 @@ jobs:
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-

- name: Install kind
uses: helm/kind-action@v1
uses: helm/kind-action@v1.7.0
with:
version: v0.20.0
install_only: true

- name: Install ginkgo
Expand Down Expand Up @@ -982,8 +987,9 @@ jobs:
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-

- name: Install kind
uses: helm/kind-action@v1
uses: helm/kind-action@v1.7.0
with:
version: v0.20.0
install_only: true

- name: Install ginkgo
Expand Down Expand Up @@ -1022,8 +1028,9 @@ jobs:
- uses: actions/checkout@v3

- name: Install kind
uses: helm/kind-action@v1
uses: helm/kind-action@v1.7.0
with:
version: v0.20.0
install_only: true

- name: Download image
Expand Down Expand Up @@ -1057,8 +1064,9 @@ jobs:
- uses: actions/checkout@v3

- name: Install kind
uses: helm/kind-action@v1
uses: helm/kind-action@v1.7.0
with:
version: v0.20.0
install_only: true

- name: Download image
Expand Down Expand Up @@ -1092,8 +1100,9 @@ jobs:
- uses: actions/checkout@v3

- name: Install kind
uses: helm/kind-action@v1
uses: helm/kind-action@v1.7.0
with:
version: v0.20.0
install_only: true

- name: Download image
Expand Down Expand Up @@ -1129,8 +1138,9 @@ jobs:
- uses: actions/checkout@v3

- name: Install kind
uses: helm/kind-action@v1
uses: helm/kind-action@v1.7.0
with:
version: v0.20.0
install_only: true

- name: Download image
Expand Down Expand Up @@ -1206,8 +1216,9 @@ jobs:
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-

- name: Install kind
uses: helm/kind-action@v1
uses: helm/kind-action@v1.7.0
with:
version: v0.20.0
install_only: true

- name: Install ginkgo
Expand Down Expand Up @@ -1253,8 +1264,9 @@ jobs:
- uses: actions/checkout@v3

- name: Install kind
uses: helm/kind-action@v1
uses: helm/kind-action@v1.7.0
with:
version: v0.20.0
install_only: true

- name: Download image
Expand All @@ -1269,7 +1281,7 @@ jobs:
run: |
sudo pip3 install j2cli
sudo pip3 install "j2cli[yaml]"
sudo PATH=~/.local/bin:$PATH k8s_version=v1.23.13 make kind-init
sudo PATH=~/.local/bin:$PATH k8s_version=v1.23.17 make kind-init
sudo cp -r /root/.kube/ ~/.kube/
sudo chown -R $(id -un). ~/.kube/
Expand Down Expand Up @@ -1335,8 +1347,9 @@ jobs:
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-

- name: Install kind
uses: helm/kind-action@v1
uses: helm/kind-action@v1.7.0
with:
version: v0.20.0
install_only: true

- name: Install ginkgo
Expand Down Expand Up @@ -1432,8 +1445,9 @@ jobs:
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-

- name: Install kind
uses: helm/kind-action@v1
uses: helm/kind-action@v1.7.0
with:
version: v0.20.0
install_only: true

- name: Install ginkgo
Expand Down
1 change: 1 addition & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CVE-2023-2253
2 changes: 1 addition & 1 deletion dist/images/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ ARG ARCH
ENV CNI_VERSION=v1.2.0
RUN curl -sSf -L --retry 5 https://github.com/containernetworking/plugins/releases/download/${CNI_VERSION}/cni-plugins-linux-${ARCH}-${CNI_VERSION}.tgz | tar -xz -C . ./loopback ./portmap ./macvlan

ENV KUBE_VERSION="v1.24.12"
ENV KUBE_VERSION="v1.26.6"

RUN curl -L https://dl.k8s.io/${KUBE_VERSION}/kubernetes-client-linux-${ARCH}.tar.gz | tar -xz -C . && cp ./kubernetes/client/bin/kubectl /usr/bin/kubectl \
&& chmod +x /usr/bin/kubectl && rm -rf ./kubernetes
Expand Down
112 changes: 56 additions & 56 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,20 @@ require (
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.8.1
github.com/vishvananda/netlink v1.2.1-beta.2
golang.org/x/exp v0.0.0-20230213192124-5e25df0256eb
golang.org/x/sys v0.6.0
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1
golang.org/x/sys v0.9.0
golang.org/x/time v0.3.0
google.golang.org/grpc v1.51.0
google.golang.org/protobuf v1.28.1
gopkg.in/k8snetworkplumbingwg/multus-cni.v3 v3.9.2
k8s.io/api v0.26.0
k8s.io/apimachinery v0.26.0
k8s.io/apiserver v0.26.0
k8s.io/api v0.26.6
k8s.io/apimachinery v0.26.6
k8s.io/apiserver v0.26.6
k8s.io/client-go v12.0.0+incompatible
k8s.io/klog/v2 v2.80.1
k8s.io/kubernetes v1.26.1
k8s.io/pod-security-admission v0.26.0
k8s.io/sample-controller v0.26.0
k8s.io/klog/v2 v2.100.1
k8s.io/kubernetes v1.26.6
k8s.io/pod-security-admission v0.26.6
k8s.io/sample-controller v0.26.6
k8s.io/utils v0.0.0-20221128185143-99ec85e7a448
kubevirt.io/client-go v0.58.0
sigs.k8s.io/controller-runtime v0.14.1
Expand Down Expand Up @@ -166,7 +166,7 @@ require (
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.0.2 // indirect
github.com/opencontainers/runc v1.1.4 // indirect
github.com/opencontainers/runc v1.1.6 // indirect
github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 // indirect
github.com/opencontainers/selinux v1.10.0 // indirect
github.com/openshift/api v0.0.0-20221103085154-ea838af1820e // indirect
Expand Down Expand Up @@ -197,7 +197,7 @@ require (
github.com/subosito/gotenv v1.4.1 // indirect
github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 // indirect
github.com/vishvananda/netns v0.0.4 // indirect
github.com/vmware/govmomi v0.20.3 // indirect
github.com/vmware/govmomi v0.30.0 // indirect
go.etcd.io/etcd/api/v3 v3.5.5 // indirect
go.etcd.io/etcd/client/pkg/v3 v3.5.5 // indirect
go.etcd.io/etcd/client/v3 v3.5.5 // indirect
Expand All @@ -216,14 +216,14 @@ require (
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.8.0 // indirect
go.uber.org/zap v1.24.0 // indirect
golang.org/x/crypto v0.6.0 // indirect
golang.org/x/mod v0.8.0 // indirect
golang.org/x/net v0.7.0 // indirect
golang.org/x/oauth2 v0.5.0 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/term v0.5.0 // indirect
golang.org/x/text v0.7.0 // indirect
golang.org/x/tools v0.6.0 // indirect
golang.org/x/crypto v0.9.0 // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/oauth2 v0.8.0 // indirect
golang.org/x/sync v0.2.0 // indirect
golang.org/x/term v0.8.0 // indirect
golang.org/x/text v0.9.0 // indirect
golang.org/x/tools v0.9.3 // indirect
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
google.golang.org/api v0.103.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
Expand All @@ -235,27 +235,27 @@ require (
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/apiextensions-apiserver v0.26.0 // indirect
k8s.io/cloud-provider v0.26.0 // indirect
k8s.io/cluster-bootstrap v0.26.0 // indirect
k8s.io/component-base v0.26.0 // indirect
k8s.io/component-helpers v0.26.0 // indirect
k8s.io/cri-api v0.26.0 // indirect
k8s.io/csi-translation-lib v0.26.0 // indirect
k8s.io/apiextensions-apiserver v0.26.6 // indirect
k8s.io/cloud-provider v0.26.6 // indirect
k8s.io/cluster-bootstrap v0.26.6 // indirect
k8s.io/component-base v0.26.6 // indirect
k8s.io/component-helpers v0.26.6 // indirect
k8s.io/cri-api v0.26.6 // indirect
k8s.io/csi-translation-lib v0.26.6 // indirect
k8s.io/dynamic-resource-allocation v0.0.0 // indirect
k8s.io/kms v0.26.0 // indirect
k8s.io/kms v0.26.6 // indirect
k8s.io/kube-openapi v0.0.0-20221207184640-f3cff1453715 // indirect
k8s.io/kube-proxy v0.26.0 // indirect
k8s.io/kube-proxy v0.26.6 // indirect
k8s.io/kube-scheduler v0.0.0 // indirect
k8s.io/kubectl v0.0.0 // indirect
k8s.io/kubelet v0.26.0 // indirect
k8s.io/kubelet v0.26.6 // indirect
k8s.io/legacy-cloud-providers v0.0.0 // indirect
k8s.io/mount-utils v0.0.0 // indirect
kubevirt.io/api v0.58.0 // indirect
kubevirt.io/containerized-data-importer-api v1.55.2 // indirect
kubevirt.io/controller-lifecycle-operator-sdk/api v0.2.4 // indirect
moul.io/http2curl v1.0.0 // indirect
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.35 // indirect
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.37 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
Expand All @@ -270,31 +270,31 @@ replace (
github.com/ovn-org/libovsdb => github.com/kubeovn/libovsdb v0.0.0-20221208095821-f8830e1998e8
github.com/vishvananda/netlink => github.com/kubeovn/netlink v0.0.0-20230322092337-960188369daf
gopkg.in/k8snetworkplumbingwg/multus-cni.v3 => github.com/k8snetworkplumbingwg/multus-cni v0.0.0-20220818150730-3d9cec4ec9d5
k8s.io/api => k8s.io/api v0.26.0
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.26.0
k8s.io/apimachinery => k8s.io/apimachinery v0.26.0
k8s.io/apiserver => k8s.io/apiserver v0.26.0
k8s.io/cli-runtime => k8s.io/cli-runtime v0.26.0
k8s.io/client-go => k8s.io/client-go v0.26.0
k8s.io/cloud-provider => k8s.io/cloud-provider v0.26.0
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.26.0
k8s.io/code-generator => k8s.io/code-generator v0.26.0
k8s.io/component-base => k8s.io/component-base v0.26.0
k8s.io/component-helpers => k8s.io/component-helpers v0.26.0
k8s.io/controller-manager => k8s.io/controller-manager v0.26.0
k8s.io/cri-api => k8s.io/cri-api v0.26.0
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.26.0
k8s.io/dynamic-resource-allocation => k8s.io/dynamic-resource-allocation v0.26.0
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.26.0
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.26.0
k8s.io/kube-proxy => k8s.io/kube-proxy v0.26.0
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.26.0
k8s.io/kubectl => k8s.io/kubectl v0.26.0
k8s.io/kubelet => k8s.io/kubelet v0.26.0
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.26.0
k8s.io/metrics => k8s.io/metrics v0.26.0
k8s.io/mount-utils => k8s.io/mount-utils v0.26.0
k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.26.0
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.26.0
k8s.io/api => k8s.io/api v0.26.6
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.26.6
k8s.io/apimachinery => k8s.io/apimachinery v0.26.6
k8s.io/apiserver => k8s.io/apiserver v0.26.6
k8s.io/cli-runtime => k8s.io/cli-runtime v0.26.6
k8s.io/client-go => k8s.io/client-go v0.26.6
k8s.io/cloud-provider => k8s.io/cloud-provider v0.26.6
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.26.6
k8s.io/code-generator => k8s.io/code-generator v0.26.6
k8s.io/component-base => k8s.io/component-base v0.26.6
k8s.io/component-helpers => k8s.io/component-helpers v0.26.6
k8s.io/controller-manager => k8s.io/controller-manager v0.26.6
k8s.io/cri-api => k8s.io/cri-api v0.26.6
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.26.6
k8s.io/dynamic-resource-allocation => k8s.io/dynamic-resource-allocation v0.26.6
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.26.6
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.26.6
k8s.io/kube-proxy => k8s.io/kube-proxy v0.26.6
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.26.6
k8s.io/kubectl => k8s.io/kubectl v0.26.6
k8s.io/kubelet => k8s.io/kubelet v0.26.6
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.26.6
k8s.io/metrics => k8s.io/metrics v0.26.6
k8s.io/mount-utils => k8s.io/mount-utils v0.26.6
k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.26.6
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.26.6
kubevirt.io/client-go => github.com/kubeovn/kubevirt-client-go v0.0.0-20221209084839-9c2ed1f0604d
)
Loading

0 comments on commit 7db9ff1

Please sign in to comment.