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
* initial schema
* Add expandWindowsSecurityContext Func
* add flattener
* fix os attribute and tests
* add host_process
* fix testconfig
* remove duplicates
* WIP: marked as required despite being optional
* add check for os value
* update tests and expandOS function
Description: "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.",
353
+
Optional: true,
354
+
Elem: &schema.Resource{
355
+
Schema: map[string]*schema.Schema{
356
+
"gmsa_credential_spec": {
357
+
Type: schema.TypeString,
358
+
Description: "GMSACredentialSpec is where the GMSA admission webhook inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field",
359
+
Optional: true,
360
+
},
361
+
"gmsa_credential_spec_name": {
362
+
Type: schema.TypeString,
363
+
Description: "GMSACredentialSpecName is the name of the GMSA credential spec to use.",
364
+
Optional: true,
365
+
},
366
+
"host_process": {
367
+
Type: schema.TypeBool,
368
+
Description: "HostProcess determines if a container should be run as a 'Host Process' container. Default value is false.",
369
+
Default: false,
370
+
Optional: true,
371
+
},
372
+
"run_as_username": {
373
+
Type: schema.TypeString,
374
+
Description: "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. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
0 commit comments