mirror of https://github.com/linkerd/linkerd2.git
Use proxy-init version from internal package in tests (#11921)
We keep track of our proxy-init and CNI plugin versions in two exported variables in `pkg/version/version.go`. As part of our release process, we require these versions to be bumped when the iptables dependencies are bumped. In our multicluster test, we provide a proxy-init version that's hardcoded. Instead of relying on the release coordinator to bump the image in the test (which can be easily missed), use the already exported version. Signed-off-by: Matei David <matei@buoyant.io>
This commit is contained in:
parent
68534e0881
commit
7d6695327c
|
@ -16,6 +16,7 @@ import (
|
|||
|
||||
mcHealthcheck "github.com/linkerd/linkerd2/multicluster/cmd"
|
||||
"github.com/linkerd/linkerd2/pkg/healthcheck"
|
||||
"github.com/linkerd/linkerd2/pkg/version"
|
||||
"github.com/linkerd/linkerd2/testutil"
|
||||
)
|
||||
|
||||
|
@ -113,7 +114,7 @@ func TestInstall(t *testing.T) {
|
|||
"install",
|
||||
"--controller-log-level", "debug",
|
||||
"--set", "proxyInit.image.name=ghcr.io/linkerd/proxy-init",
|
||||
"--set", "proxyInit.image.version=v2.2.3",
|
||||
"--set", fmt.Sprintf("proxyInit.image.version=%s", version.ProxyInitVersion),
|
||||
"--set", fmt.Sprintf("proxy.image.version=%s", TestHelper.GetVersion()),
|
||||
"--set", "heartbeatSchedule=1 2 3 4 5",
|
||||
"--identity-trust-anchors-file", rootPath,
|
||||
|
|
Loading…
Reference in New Issue