Merge pull request #128553 from thockin/master

Validation: merge TooLong and TooLongMaxLen
This commit is contained in:
Kubernetes Prow Robot
2024-11-06 04:19:43 +00:00
committed by GitHub
20 changed files with 54 additions and 60 deletions

View File

@@ -11928,7 +11928,7 @@ func TestValidatePod(t *testing.T) {
),
},
"too long AppArmor localhost profile": {
expectedError: "Too long: may not be longer than 4095",
expectedError: "Too long: may not be more than 4095 bytes",
spec: *podtest.MakePod("123",
podtest.SetSecurityContext(&core.PodSecurityContext{
AppArmorProfile: &core.AppArmorProfile{