mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-08-15 11:46:12 +00:00
Change allowed gcp auth plugin is deprecation warning text
It seems that google changed it from "the gcp auth plugin is deprecated in v1.22+, unavailable in v1.25+; use gcloud instead" to instead say "unavailable in v1.26+". Make the matcher in category_test.go more loose to allow both to match.
This commit is contained in:
@@ -36,7 +36,7 @@ func requireCleanKubectlStderr(t *testing.T, stderr string) {
|
||||
case strings.TrimSpace(line) == "",
|
||||
strings.Contains(line, "Throttling request took"),
|
||||
strings.Contains(line, "due to client-side throttling, not priority and fairness"),
|
||||
strings.Contains(line, "the gcp auth plugin is deprecated in v1.22+, unavailable in v1.25+; use gcloud instead"),
|
||||
strings.Contains(line, "the gcp auth plugin is deprecated in v1.22+, unavailable in "),
|
||||
strings.Contains(line, "To learn more, consult https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke"):
|
||||
// ignore these allowed stderr lines
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user