You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// When user namespaces are enabled (hostUsers=false), GIDs must be in range 0-65535
5414
-
if!hostUsers&&*securityContext.FSGroup>65535 {
5414
+
if!hostUsers&&*securityContext.FSGroup>65534 {
5415
5415
allErrs=append(allErrs, field.Invalid(fldPath.Child("fsGroup"), *securityContext.FSGroup, "must be between 0 and 65535 when user namespaces are enabled (hostUsers=false)"))
// When user namespaces are enabled (hostUsers=false), UIDs must be in range 0-65535
5423
-
if!hostUsers&&*securityContext.RunAsUser>65535 {
5423
+
if!hostUsers&&*securityContext.RunAsUser>65534 {
5424
5424
allErrs=append(allErrs, field.Invalid(fldPath.Child("runAsUser"), *securityContext.RunAsUser, "must be between 0 and 65535 when user namespaces are enabled (hostUsers=false)"))
// When user namespaces are enabled (hostUsers=false), GIDs must be in range 0-65535
5432
-
if!hostUsers&&*securityContext.RunAsGroup>65535 {
5432
+
if!hostUsers&&*securityContext.RunAsGroup>65534 {
5433
5433
allErrs=append(allErrs, field.Invalid(fldPath.Child("runAsGroup"), *securityContext.RunAsGroup, "must be between 0 and 65535 when user namespaces are enabled (hostUsers=false)"))
// When user namespaces are enabled (hostUsers=false), GIDs must be in range 0-65535
5441
-
if!hostUsers&&gid>65535 {
5441
+
if!hostUsers&&gid>65534 {
5442
5442
allErrs=append(allErrs, field.Invalid(fldPath.Child("supplementalGroups").Index(g), gid, "must be between 0 and 65535 when user namespaces are enabled (hostUsers=false)"))
// When user namespaces are enabled (hostUsers=false), UIDs must be in range 0-65535
8092
-
if!hostUsers&&*sc.RunAsUser>65535 {
8092
+
if!hostUsers&&*sc.RunAsUser>65534 {
8093
8093
allErrs=append(allErrs, field.Invalid(fldPath.Child("runAsUser"), *sc.RunAsUser, "must be between 0 and 65535 when user namespaces are enabled (hostUsers=false)"))
// When user namespaces are enabled (hostUsers=false), GIDs must be in range 0-65535
8102
-
if!hostUsers&&*sc.RunAsGroup>65535 {
8102
+
if!hostUsers&&*sc.RunAsGroup>65534 {
8103
8103
allErrs=append(allErrs, field.Invalid(fldPath.Child("runAsGroup"), *sc.RunAsGroup, "must be between 0 and 65535 when user namespaces are enabled (hostUsers=false)"))
0 commit comments