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
PodSecurityContext configures the pod security context for the targetallocator.
20284
+
20285
+
<table>
20286
+
<thead>
20287
+
<tr>
20288
+
<th>Name</th>
20289
+
<th>Type</th>
20290
+
<th>Description</th>
20291
+
<th>Required</th>
20292
+
</tr>
20293
+
</thead>
20294
+
<tbody><tr>
20295
+
<td><b>fsGroup</b></td>
20296
+
<td>integer</td>
20297
+
<td>
20298
+
A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:
20299
+
1.<br/>
20300
+
<br/>
20301
+
<i>Format</i>: int64<br/>
20302
+
</td>
20303
+
<td>false</td>
20304
+
</tr><tr>
20305
+
<td><b>fsGroupChangePolicy</b></td>
20306
+
<td>string</td>
20307
+
<td>
20308
+
fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod.<br/>
20309
+
</td>
20310
+
<td>false</td>
20311
+
</tr><tr>
20312
+
<td><b>runAsGroup</b></td>
20313
+
<td>integer</td>
20314
+
<td>
20315
+
The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext.<br/>
20316
+
<br/>
20317
+
<i>Format</i>: int64<br/>
20318
+
</td>
20319
+
<td>false</td>
20320
+
</tr><tr>
20321
+
<td><b>runAsNonRoot</b></td>
20322
+
<td>boolean</td>
20323
+
<td>
20324
+
Indicates that the container must run as a non-root user.<br/>
20325
+
</td>
20326
+
<td>false</td>
20327
+
</tr><tr>
20328
+
<td><b>runAsUser</b></td>
20329
+
<td>integer</td>
20330
+
<td>
20331
+
The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext.<br/>
The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext.<br/>
The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows.<br/>
20348
+
</td>
20349
+
<td>false</td>
20350
+
</tr><tr>
20351
+
<td><b>supplementalGroups</b></td>
20352
+
<td>[]integer</td>
20353
+
<td>
20354
+
A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for th<br/>
Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.<br/>
The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext.
20381
+
20382
+
<table>
20383
+
<thead>
20384
+
<tr>
20385
+
<th>Name</th>
20386
+
<th>Type</th>
20387
+
<th>Description</th>
20388
+
<th>Required</th>
20389
+
</tr>
20390
+
</thead>
20391
+
<tbody><tr>
20392
+
<td><b>level</b></td>
20393
+
<td>string</td>
20394
+
<td>
20395
+
Level is SELinux level label that applies to the container.<br/>
20396
+
</td>
20397
+
<td>false</td>
20398
+
</tr><tr>
20399
+
<td><b>role</b></td>
20400
+
<td>string</td>
20401
+
<td>
20402
+
Role is a SELinux role label that applies to the container.<br/>
20403
+
</td>
20404
+
<td>false</td>
20405
+
</tr><tr>
20406
+
<td><b>type</b></td>
20407
+
<td>string</td>
20408
+
<td>
20409
+
Type is a SELinux type label that applies to the container.<br/>
20410
+
</td>
20411
+
<td>false</td>
20412
+
</tr><tr>
20413
+
<td><b>user</b></td>
20414
+
<td>string</td>
20415
+
<td>
20416
+
User is a SELinux user label that applies to the container.<br/>
The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used.
20498
+
20499
+
<table>
20500
+
<thead>
20501
+
<tr>
20502
+
<th>Name</th>
20503
+
<th>Type</th>
20504
+
<th>Description</th>
20505
+
<th>Required</th>
20506
+
</tr>
20507
+
</thead>
20508
+
<tbody><tr>
20509
+
<td><b>gmsaCredentialSpec</b></td>
20510
+
<td>string</td>
20511
+
<td>
20512
+
GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.<br/>
20513
+
</td>
20514
+
<td>false</td>
20515
+
</tr><tr>
20516
+
<td><b>gmsaCredentialSpecName</b></td>
20517
+
<td>string</td>
20518
+
<td>
20519
+
GMSACredentialSpecName is the name of the GMSA credential spec to use.<br/>
20520
+
</td>
20521
+
<td>false</td>
20522
+
</tr><tr>
20523
+
<td><b>hostProcess</b></td>
20524
+
<td>boolean</td>
20525
+
<td>
20526
+
HostProcess determines if a container should be run as a 'Host Process' container.<br/>
20527
+
</td>
20528
+
<td>false</td>
20529
+
</tr><tr>
20530
+
<td><b>runAsUserName</b></td>
20531
+
<td>string</td>
20532
+
<td>
20533
+
The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext.<br/>
0 commit comments