Skip to content

Commit e18bcdb

Browse files
committed
deps: bump cni-plugins to v1.3.0
Provide compatibility with new Minikube versions. Allows cri-dockerd and crictl to work with Minikube, especially when dealing with extensions that connect with the outside world such as registry and ingress.
1 parent 5cba6bd commit e18bcdb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/__tests__/download.test.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,19 +76,19 @@ describe('download module test suite', () => {
7676
data: {
7777
assets: [
7878
{
79-
name: 'cni-plugins-linux-amd64-v1.2.0.tgz.sha1',
79+
name: 'cni-plugins-linux-amd64-v1.3.0.tgz.sha1',
8080
browser_download_url: 'http://invalid'
8181
},
8282
{
83-
name: 'cni-plugins-linux-amd64-v1.2.0.tgz',
83+
name: 'cni-plugins-linux-amd64-v1.3.0.tgz',
8484
browser_download_url: 'http://valid'
8585
},
8686
{
87-
name: 'cni-plugins-linux-amd64-v1.2.0.tgz.sha512',
87+
name: 'cni-plugins-linux-amd64-v1.3.0.tgz.sha512',
8888
browser_download_url: 'http://invalid'
8989
},
9090
{
91-
name: 'cni-plugins-windows-amd64-v1.2.0.tgz',
91+
name: 'cni-plugins-windows-amd64-v1.3.0.tgz',
9292
browser_download_url: 'http://invalid'
9393
}
9494
]
@@ -102,7 +102,7 @@ describe('download module test suite', () => {
102102
// Then
103103
expect(axios).toHaveBeenCalledWith(
104104
expect.objectContaining({
105-
url: 'https://github.com/api/repos/containernetworking/plugins/releases/tags/v1.2.0',
105+
url: 'https://github.com/api/repos/containernetworking/plugins/releases/tags/v1.3.0',
106106
headers: {Authorization: 'token secret-token'}
107107
})
108108
);

src/download.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const downloadMinikube = async (inputs = {}) => {
4848
// https://github.com/kubernetes/minikube/commit/fd549f396dbd39385baefe88dcead0ccf99f1bff
4949
const installCniPlugins = async (inputs = {}) => {
5050
core.info(`Downloading CNI plugins`);
51-
const tag = 'v1.2.0';
51+
const tag = 'v1.3.0';
5252
const tar = await downloadGitHubArtifact({
5353
inputs,
5454
releaseUrl: `https://github.com/api/repos/containernetworking/plugins/releases/tags/${tag}`,

0 commit comments

Comments
 (0)