Skip to content

Fix expected "too short" validation msg for changes in upcoming k8s v1.38.0 - #3365

Merged
cfryanr merged 2 commits into
mainfrom
topic/ryanrichard/too-short-validation-msg
Oct 26, 2026
Merged

cfryanr merged 2 commits into
mainfrom
topic/ryanrichard/too-short-validation-msg

Conversation

@cfryanr

@cfryanr cfryanr commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Some of the integration tests make specific expectations about k8s validation error messages. Some of those have changed in the upcoming k8s 1.38 release, so this PR updates the expected values in those tests. These are tested by the "integration-test-k8s-main" CI job, which runs Pinniped on a pre-release of the next k8s version.

Release note:

NONE

cfryanr and others added 2 commits October 26, 2026 10:42
@netlify

netlify Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for pinniped-dev canceled.

Name Link
🔨 Latest commit de59a0b
🔍 Latest deploy log https://app.netlify.com/projects/pinniped-dev/deploys/6adf91b2812f72244885e48f

@cfryanr
cfryanr enabled auto-merge October 26, 2026 18:36
@cfryanr cfryanr mentioned this pull request Oct 26, 2026
},
wantErr: `JWTAuthenticator.authentication.concierge.` + env.APIGroupSuffix + ` "` + objectMeta.Name + `" is invalid: ` +
`spec.audience: Invalid value: "": spec.audience in body should be at least 1 chars long`,
wantKube38OrNewerErr: `JWTAuthenticator.authentication.concierge.` + env.APIGroupSuffix + ` "` + objectMeta.Name + `" is invalid: ` +

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a merge-blocker, just nit/observation:
I would have preferred a string formatter, interpolator instead.
but since this is a test, that's fine I think.

@v0lkan v0lkan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. -- Didn't see anything fishy.

@cfryanr
cfryanr merged commit 487d5df into main Oct 26, 2026
40 checks passed
@cfryanr
cfryanr deleted the topic/ryanrichard/too-short-validation-msg branch October 26, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants