Update tests to use agnhost 2.32

Updates e2e tests to use agnhost 2.32, which fixes an issue with the
conformance tests for ServiceAccountIssuerDiscovery.

Original fix: https://github.com/kubernetes/kubernetes/pull/101589

Image promotion: https://github.com/kubernetes/k8s.io/pull/1994
This commit is contained in:
Michael Taufen 2021-05-03 14:23:43 -07:00
parent 271476446b
commit b33cd86a27
3 changed files with 2 additions and 3 deletions

View File

@ -27,7 +27,7 @@ dependencies:
# then after merge and successful postsubmit image push / promotion, bump this # then after merge and successful postsubmit image push / promotion, bump this
- name: "agnhost: dependents" - name: "agnhost: dependents"
version: "2.31" version: "2.32"
refPaths: refPaths:
- path: test/utils/image/manifest.go - path: test/utils/image/manifest.go
match: configs\[Agnhost\] = Config{promoterE2eRegistry, "agnhost", "\d+\.\d+"} match: configs\[Agnhost\] = Config{promoterE2eRegistry, "agnhost", "\d+\.\d+"}

View File

@ -735,7 +735,6 @@ var _ = SIGDescribe("ServiceAccounts", func() {
Image: imageutils.GetE2EImage(imageutils.Agnhost), Image: imageutils.GetE2EImage(imageutils.Agnhost),
Args: []string{ Args: []string{
"test-service-account-issuer-discovery", "test-service-account-issuer-discovery",
"--in-cluster-discovery",
"--token-path", path.Join(tokenPath, tokenName), "--token-path", path.Join(tokenPath, tokenName),
"--audience", audience, "--audience", audience,
}, },

View File

@ -213,7 +213,7 @@ const (
func initImageConfigs() (map[int]Config, map[int]Config) { func initImageConfigs() (map[int]Config, map[int]Config) {
configs := map[int]Config{} configs := map[int]Config{}
configs[Agnhost] = Config{promoterE2eRegistry, "agnhost", "2.31"} configs[Agnhost] = Config{promoterE2eRegistry, "agnhost", "2.32"}
configs[AgnhostPrivate] = Config{PrivateRegistry, "agnhost", "2.6"} configs[AgnhostPrivate] = Config{PrivateRegistry, "agnhost", "2.6"}
configs[AuthenticatedAlpine] = Config{gcAuthenticatedRegistry, "alpine", "3.7"} configs[AuthenticatedAlpine] = Config{gcAuthenticatedRegistry, "alpine", "3.7"}
configs[AuthenticatedWindowsNanoServer] = Config{gcAuthenticatedRegistry, "windows-nanoserver", "v1"} configs[AuthenticatedWindowsNanoServer] = Config{gcAuthenticatedRegistry, "windows-nanoserver", "v1"}