diff --git a/charts/linkerd2-cni/README.md b/charts/linkerd2-cni/README.md index ed9bcba38de59..fce93a01e9836 100644 --- a/charts/linkerd2-cni/README.md +++ b/charts/linkerd2-cni/README.md @@ -31,7 +31,7 @@ Kubernetes: `>=1.21.0-0` | ignoreOutboundPorts | string | `""` | Default set of outbound ports to skip via iptables | | image.name | string | `"cr.l5d.io/linkerd/cni-plugin"` | Docker image for the CNI plugin | | image.pullPolicy | string | `"IfNotPresent"` | Pull policy for the linkerd-cni container | -| image.version | string | `"v1.1.1"` | Tag for the CNI container Docker image | +| image.version | string | `"v1.2.0"` | Tag for the CNI container Docker image | | imagePullSecrets | list | `[]` | | | inboundProxyPort | int | `4143` | Inbound port for the proxy container | | logLevel | string | `"info"` | Log level for the CNI plugin | diff --git a/charts/linkerd2-cni/values.yaml b/charts/linkerd2-cni/values.yaml index 9034fadd9bdc2..fdc5a335b931c 100644 --- a/charts/linkerd2-cni/values.yaml +++ b/charts/linkerd2-cni/values.yaml @@ -53,7 +53,7 @@ image: # -- Docker image for the CNI plugin name: "cr.l5d.io/linkerd/cni-plugin" # -- Tag for the CNI container Docker image - version: "v1.1.1" + version: "v1.2.0" # -- Pull policy for the linkerd-cni container pullPolicy: IfNotPresent diff --git a/cli/cmd/install-cni-plugin_test.go b/cli/cmd/install-cni-plugin_test.go index 38f079cb1f449..66b2282c1f7cb 100644 --- a/cli/cmd/install-cni-plugin_test.go +++ b/cli/cmd/install-cni-plugin_test.go @@ -16,7 +16,7 @@ func TestRenderCNIPlugin(t *testing.T) { image := cniPluginImage{ name: "my-docker-registry.io/awesome/cni-plugin-test-image", - version: "v1.1.1", + version: "v1.2.0", pullPolicy: nil, } fullyConfiguredOptions := &cniPluginOptions{ diff --git a/cli/cmd/install_cni_helm_test.go b/cli/cmd/install_cni_helm_test.go index aeef8d367bed7..cd3f5dda190c5 100644 --- a/cli/cmd/install_cni_helm_test.go +++ b/cli/cmd/install_cni_helm_test.go @@ -35,7 +35,7 @@ func TestRenderCniHelm(t *testing.T) { "logLevel": "debug", "image": { "name": "cr.l5d.io/linkerd/cni-plugin", - "version": "v1.1.1" + "version": "v1.2.0" }, "proxyUID": 1111, "destCNINetDir": "/etc/cni/net.d-test", diff --git a/cli/cmd/testdata/install-cni-plugin_default.golden b/cli/cmd/testdata/install-cni-plugin_default.golden index d221b700ebfd4..0ba15a81cd104 100644 --- a/cli/cmd/testdata/install-cni-plugin_default.golden +++ b/cli/cmd/testdata/install-cni-plugin_default.golden @@ -118,7 +118,7 @@ spec: # script copies the files into place and then sleeps so # that Kubernetes doesn't keep trying to restart it. - name: install-cni - image: cr.l5d.io/linkerd/cni-plugin:v1.1.1 + image: cr.l5d.io/linkerd/cni-plugin:v1.2.0 imagePullPolicy: env: - name: DEST_CNI_NET_DIR diff --git a/cli/cmd/testdata/install-cni-plugin_fully_configured.golden b/cli/cmd/testdata/install-cni-plugin_fully_configured.golden index b9cc515a1efe5..e65f378ea0db2 100644 --- a/cli/cmd/testdata/install-cni-plugin_fully_configured.golden +++ b/cli/cmd/testdata/install-cni-plugin_fully_configured.golden @@ -119,7 +119,7 @@ spec: # script copies the files into place and then sleeps so # that Kubernetes doesn't keep trying to restart it. - name: install-cni - image: my-docker-registry.io/awesome/cni-plugin-test-image:v1.1.1 + image: my-docker-registry.io/awesome/cni-plugin-test-image:v1.2.0 imagePullPolicy: env: - name: DEST_CNI_NET_DIR diff --git a/cli/cmd/testdata/install-cni-plugin_fully_configured_equal_dsts.golden b/cli/cmd/testdata/install-cni-plugin_fully_configured_equal_dsts.golden index a1c0b41056aa8..289f38fc4cb5f 100644 --- a/cli/cmd/testdata/install-cni-plugin_fully_configured_equal_dsts.golden +++ b/cli/cmd/testdata/install-cni-plugin_fully_configured_equal_dsts.golden @@ -119,7 +119,7 @@ spec: # script copies the files into place and then sleeps so # that Kubernetes doesn't keep trying to restart it. - name: install-cni - image: my-docker-registry.io/awesome/cni-plugin-test-image:v1.1.1 + image: my-docker-registry.io/awesome/cni-plugin-test-image:v1.2.0 imagePullPolicy: env: - name: DEST_CNI_NET_DIR diff --git a/cli/cmd/testdata/install-cni-plugin_fully_configured_no_namespace.golden b/cli/cmd/testdata/install-cni-plugin_fully_configured_no_namespace.golden index b9cc515a1efe5..e65f378ea0db2 100644 --- a/cli/cmd/testdata/install-cni-plugin_fully_configured_no_namespace.golden +++ b/cli/cmd/testdata/install-cni-plugin_fully_configured_no_namespace.golden @@ -119,7 +119,7 @@ spec: # script copies the files into place and then sleeps so # that Kubernetes doesn't keep trying to restart it. - name: install-cni - image: my-docker-registry.io/awesome/cni-plugin-test-image:v1.1.1 + image: my-docker-registry.io/awesome/cni-plugin-test-image:v1.2.0 imagePullPolicy: env: - name: DEST_CNI_NET_DIR diff --git a/cli/cmd/testdata/install-cni-plugin_skip_ports.golden b/cli/cmd/testdata/install-cni-plugin_skip_ports.golden index 4a79db3c0cf81..e61aac36f94a2 100644 --- a/cli/cmd/testdata/install-cni-plugin_skip_ports.golden +++ b/cli/cmd/testdata/install-cni-plugin_skip_ports.golden @@ -119,7 +119,7 @@ spec: # script copies the files into place and then sleeps so # that Kubernetes doesn't keep trying to restart it. - name: install-cni - image: cr.l5d.io/linkerd/cni-plugin:v1.1.1 + image: cr.l5d.io/linkerd/cni-plugin:v1.2.0 imagePullPolicy: env: - name: DEST_CNI_NET_DIR diff --git a/cli/cmd/testdata/install_cni_helm_default_output.golden b/cli/cmd/testdata/install_cni_helm_default_output.golden index 815c906325418..542d7681c110d 100644 --- a/cli/cmd/testdata/install_cni_helm_default_output.golden +++ b/cli/cmd/testdata/install_cni_helm_default_output.golden @@ -111,7 +111,7 @@ spec: # script copies the files into place and then sleeps so # that Kubernetes doesn't keep trying to restart it. - name: install-cni - image: cr.l5d.io/linkerd/cni-plugin:v1.1.1 + image: cr.l5d.io/linkerd/cni-plugin:v1.2.0 imagePullPolicy: IfNotPresent env: - name: DEST_CNI_NET_DIR diff --git a/cli/cmd/testdata/install_cni_helm_override_output.golden b/cli/cmd/testdata/install_cni_helm_override_output.golden index ed92ab2a65873..0d2953fdd30d8 100644 --- a/cli/cmd/testdata/install_cni_helm_override_output.golden +++ b/cli/cmd/testdata/install_cni_helm_override_output.golden @@ -112,7 +112,7 @@ spec: # script copies the files into place and then sleeps so # that Kubernetes doesn't keep trying to restart it. - name: install-cni - image: cr.l5d.io/linkerd/cni-plugin:v1.1.1 + image: cr.l5d.io/linkerd/cni-plugin:v1.2.0 imagePullPolicy: IfNotPresent env: - name: DEST_CNI_NET_DIR diff --git a/cni-plugin/test/install-cni_test.go b/cni-plugin/test/install-cni_test.go index 363ecb71c2ceb..850392d64d2e8 100644 --- a/cni-plugin/test/install-cni_test.go +++ b/cni-plugin/test/install-cni_test.go @@ -147,7 +147,7 @@ func populateK8sCreds(wd string, tempK8sSvcAcctDir string, t *testing.T) { // startDocker starts a test Docker container and runs the install-cni.sh script. func startDocker(testNum int, wd string, testWorkRootDir string, tempCNINetDir string, tempCNIBinDir string, tempK8sSvcAcctDir string, t *testing.T) string { - dockerImage := env("HUB", "cr.l5d.io/linkerd") + "/cni-plugin:" + env("CNI_PLUGIN_VERSION", "v1.1.1") + dockerImage := env("HUB", "cr.l5d.io/linkerd") + "/cni-plugin:" + env("CNI_PLUGIN_VERSION", "v1.2.0") errFileName := testWorkRootDir + "/docker_run_stderr" // Build arguments list by picking whatever is necessary from the environment. diff --git a/pkg/healthcheck/healthcheck_test.go b/pkg/healthcheck/healthcheck_test.go index a46e32d47e6c2..e89b61d5fd161 100644 --- a/pkg/healthcheck/healthcheck_test.go +++ b/pkg/healthcheck/healthcheck_test.go @@ -2421,7 +2421,7 @@ spec: serviceAccountName: linkerd-cni containers: - name: install-cni - image: cr.l5d.io/linkerd/cni-plugin:v1.1.1 + image: cr.l5d.io/linkerd/cni-plugin:v1.2.0 env: - name: DEST_CNI_NET_DIR valueFrom: diff --git a/pkg/version/version.go b/pkg/version/version.go index f6d53e97eaef3..72202b08cea9a 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -16,7 +16,7 @@ var Version = undefinedVersion // https://github.com/linkerd/linkerd2-proxy-init This has to be kept in sync // with the default version in the control plane's values.yaml. var ProxyInitVersion = "v2.2.1" -var LinkerdCNIVersion = "v1.1.1" +var LinkerdCNIVersion = "v1.2.0" const ( // undefinedVersion should take the form `channel-version` to conform to