Repository: cdk8s-team/cdk8s-plus
Pull request #1437 (2022-11-23 15:34:34)

fix(container): default uid and gid might cause some images to break
While these defaults make sense from a security perspective, they do appear to be breaking some images that rely on the image being started with the default image user.

We need to come up with a mechanism that can toggle L2 defaults on and off, but for now, lets just revert this. 
 
Fixes https://github.com/cdk8s-team/cdk8s-plus/issues/1339


Patch:
diff --git a/src/container.ts b/src/container.ts
index a10fd9ab..332b60c5 100644
--- a/src/container.ts
+++ b/src/container.ts
@@ -142,8 +142,8 @@ export class ContainerSecurityContext {
     this.ensureNonRoot = props.ensureNonRoot ?? true;
     this.privileged = props.privileged ?? false;
     this.readOnlyRootFilesystem = props.readOnlyRootFilesystem ?? true;
-    this.user = props.user ?? 25000;
-    this.group = props.group ?? 26000;
+    this.user = props.user;
+    this.group = props.group;
     this.allowPrivilegeEscalation = props.allowPrivilegeEscalation ?? false;
   }
 


Test patch:
diff --git a/test/__snapshots__/container.test.ts.snap b/test/__snapshots__/container.test.ts.snap
index 4acf50f2..a4eb31f8 100644
--- a/test/__snapshots__/container.test.ts.snap
+++ b/test/__snapshots__/container.test.ts.snap
@@ -37,9 +37,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
           "startupProbe": Object {
             "failureThreshold": 3,
@@ -93,9 +91,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -157,9 +153,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
           "startupProbe": Object {
             "failureThreshold": 3,
@@ -214,9 +208,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
           "volumeMounts": Array [
             Object {
diff --git a/test/__snapshots__/cron-job.test.ts.snap b/test/__snapshots__/cron-job.test.ts.snap
index 01fd46f5..27c42ca3 100644
--- a/test/__snapshots__/cron-job.test.ts.snap
+++ b/test/__snapshots__/cron-job.test.ts.snap
@@ -40,9 +40,7 @@ Array [
                     "allowPrivilegeEscalation": false,
                     "privileged": false,
                     "readOnlyRootFilesystem": true,
-                    "runAsGroup": 26000,
                     "runAsNonRoot": true,
-                    "runAsUser": 25000,
                   },
                 },
               ],
@@ -126,9 +124,7 @@ Array [
                     "allowPrivilegeEscalation": false,
                     "privileged": false,
                     "readOnlyRootFilesystem": true,
-                    "runAsGroup": 26000,
                     "runAsNonRoot": true,
-                    "runAsUser": 25000,
                   },
                 },
               ],
@@ -193,9 +189,7 @@ Array [
                     "allowPrivilegeEscalation": false,
                     "privileged": false,
                     "readOnlyRootFilesystem": true,
-                    "runAsGroup": 26000,
                     "runAsNonRoot": true,
-                    "runAsUser": 25000,
                   },
                 },
               ],
diff --git a/test/__snapshots__/daemon-set.test.ts.snap b/test/__snapshots__/daemon-set.test.ts.snap
index b8b6db91..ec31201d 100644
--- a/test/__snapshots__/daemon-set.test.ts.snap
+++ b/test/__snapshots__/daemon-set.test.ts.snap
@@ -42,9 +42,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -122,9 +120,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -184,9 +180,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
diff --git a/test/__snapshots__/deployment.test.ts.snap b/test/__snapshots__/deployment.test.ts.snap
index 66876fb5..815fd31f 100644
--- a/test/__snapshots__/deployment.test.ts.snap
+++ b/test/__snapshots__/deployment.test.ts.snap
@@ -56,9 +56,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
               "startupProbe": Object {
                 "failureThreshold": 3,
@@ -182,9 +180,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -279,9 +275,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -380,9 +374,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
               "startupProbe": Object {
                 "failureThreshold": 3,
@@ -478,9 +470,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -570,9 +560,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -660,9 +648,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -731,9 +717,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -814,9 +798,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -885,9 +867,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -965,9 +945,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1058,9 +1036,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1148,9 +1124,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1219,9 +1193,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1302,9 +1274,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1373,9 +1343,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1453,9 +1421,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1546,9 +1512,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1636,9 +1600,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1724,9 +1686,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1809,9 +1769,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1861,9 +1819,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1984,9 +1940,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
diff --git a/test/__snapshots__/horizontal-pod-autoscaler.test.ts.snap b/test/__snapshots__/horizontal-pod-autoscaler.test.ts.snap
index f333c750..05d3c866 100644
--- a/test/__snapshots__/horizontal-pod-autoscaler.test.ts.snap
+++ b/test/__snapshots__/horizontal-pod-autoscaler.test.ts.snap
@@ -50,9 +50,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -165,9 +163,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -293,9 +289,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -421,9 +415,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -549,9 +541,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -676,9 +666,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -803,9 +791,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -930,9 +916,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1057,9 +1041,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1184,9 +1166,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1311,9 +1291,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1438,9 +1416,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1566,9 +1542,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1698,9 +1672,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1832,9 +1804,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -2000,9 +1970,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -2134,9 +2102,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -2254,9 +2220,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -2366,9 +2330,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
             Object {
@@ -2384,9 +2346,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -2499,9 +2459,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -2623,9 +2581,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -2744,9 +2700,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -2859,9 +2813,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
diff --git a/test/__snapshots__/job.test.ts.snap b/test/__snapshots__/job.test.ts.snap
index b1d9d422..3f76fe0d 100644
--- a/test/__snapshots__/job.test.ts.snap
+++ b/test/__snapshots__/job.test.ts.snap
@@ -36,9 +36,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
diff --git a/test/__snapshots__/network-policy.test.ts.snap b/test/__snapshots__/network-policy.test.ts.snap
index 704570f9..5f08a9bd 100644
--- a/test/__snapshots__/network-policy.test.ts.snap
+++ b/test/__snapshots__/network-policy.test.ts.snap
@@ -124,9 +124,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -169,9 +167,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -255,9 +251,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -319,9 +313,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -407,9 +399,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -490,9 +480,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -572,9 +560,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -659,9 +645,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -754,9 +738,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -845,9 +827,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -950,9 +930,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1036,9 +1014,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1123,9 +1099,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1168,9 +1142,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1254,9 +1226,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1318,9 +1288,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1406,9 +1374,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1489,9 +1455,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1571,9 +1535,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1658,9 +1620,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1753,9 +1713,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1844,9 +1802,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1949,9 +1905,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -2035,9 +1989,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -2122,9 +2074,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -2205,9 +2155,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
diff --git a/test/__snapshots__/pod.test.ts.snap b/test/__snapshots__/pod.test.ts.snap
index 2502aa96..f6960538 100644
--- a/test/__snapshots__/pod.test.ts.snap
+++ b/test/__snapshots__/pod.test.ts.snap
@@ -56,9 +56,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -168,9 +166,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
           "startupProbe": Object {
             "failureThreshold": 3,
@@ -224,9 +220,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -300,9 +294,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -350,9 +342,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -426,9 +416,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -476,9 +464,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -598,9 +584,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
           "startupProbe": Object {
             "failureThreshold": 3,
@@ -654,9 +638,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -730,9 +712,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -780,9 +760,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -856,9 +834,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -906,9 +882,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1010,9 +984,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1089,9 +1061,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1207,9 +1177,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1314,9 +1282,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1364,9 +1330,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1490,9 +1454,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -1542,9 +1504,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1711,9 +1671,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1756,9 +1714,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1806,9 +1762,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -1917,9 +1871,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -2037,9 +1989,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -2087,9 +2037,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -2249,9 +2197,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -2361,9 +2307,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -2465,9 +2409,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -2544,9 +2486,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -2662,9 +2602,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -2779,9 +2717,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -2829,9 +2765,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -2955,9 +2889,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -3007,9 +2939,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -3176,9 +3106,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -3221,9 +3149,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -3271,9 +3197,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -3382,9 +3306,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -3502,9 +3424,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -3552,9 +3472,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -3714,9 +3632,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -3826,9 +3742,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -3894,9 +3808,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -3944,9 +3856,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -4038,9 +3948,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -4140,9 +4048,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -4234,9 +4140,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -4323,9 +4227,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -4373,9 +4275,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -4481,9 +4381,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -4643,9 +4541,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -4714,9 +4610,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -4783,9 +4677,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -4833,9 +4725,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -4895,9 +4785,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -4945,9 +4833,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -5004,9 +4890,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -5071,9 +4955,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -5136,9 +5018,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -5186,9 +5066,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -5248,9 +5126,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -5298,9 +5174,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -5357,9 +5231,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -5424,9 +5296,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -5496,9 +5366,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
@@ -5546,9 +5414,7 @@ Array [
             "allowPrivilegeEscalation": false,
             "privileged": false,
             "readOnlyRootFilesystem": true,
-            "runAsGroup": 26000,
             "runAsNonRoot": true,
-            "runAsUser": 25000,
           },
         },
       ],
diff --git a/test/__snapshots__/service.test.ts.snap b/test/__snapshots__/service.test.ts.snap
index cf335de2..cc3fe2f7 100644
--- a/test/__snapshots__/service.test.ts.snap
+++ b/test/__snapshots__/service.test.ts.snap
@@ -83,9 +83,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
diff --git a/test/__snapshots__/statefulset.test.ts.snap b/test/__snapshots__/statefulset.test.ts.snap
index f1a0c780..d50858ce 100644
--- a/test/__snapshots__/statefulset.test.ts.snap
+++ b/test/__snapshots__/statefulset.test.ts.snap
@@ -64,9 +64,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
             },
           ],
@@ -179,9 +177,7 @@ Array [
                 "allowPrivilegeEscalation": false,
                 "privileged": false,
                 "readOnlyRootFilesystem": true,
-                "runAsGroup": 26000,
                 "runAsNonRoot": true,
-                "runAsUser": 25000,
               },
               "startupProbe": Object {
                 "failureThreshold": 3,
diff --git a/test/container.test.ts b/test/container.test.ts
index baef2169..97429f1d 100644
--- a/test/container.test.ts
+++ b/test/container.test.ts
@@ -652,8 +652,8 @@ test('default security context', () => {
   expect(container.securityContext.ensureNonRoot).toBeTruthy();
   expect(container.securityContext.privileged).toBeFalsy();
   expect(container.securityContext.readOnlyRootFilesystem).toBeTruthy();
-  expect(container.securityContext.user).toEqual(25000);
-  expect(container.securityContext.group).toEqual(26000);
+  expect(container.securityContext.user).toBeUndefined();
+  expect(container.securityContext.group).toBeUndefined();
   expect(container.securityContext.allowPrivilegeEscalation).toBeFalsy();
 
   expect(container._toKube().securityContext).toEqual(container.securityContext._toKube());
@@ -665,7 +665,6 @@ test('default security context', () => {
     runAsUser: container.securityContext.user,
     allowPrivilegeEscalation: container.securityContext.allowPrivilegeEscalation,
   });
-
 });
 
 test('custom security context', () => {