WindowsSecurityContextOptions contain Windows-specific options and credentials.
| Name | Type | Description | Notes |
|---|---|---|---|
| gmsa_credential_spec | str | 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. | [optional] |
| gmsa_credential_spec_name | str | GMSACredentialSpecName is the name of the GMSA credential spec to use. | [optional] |
| host_process | bool | HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true. | [optional] |
| run_as_user_name | str | 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. | [optional] |
from kubernetes.client.models.v1_windows_security_context_options import V1WindowsSecurityContextOptions
# TODO update the JSON string below
json = "{}"
# create an instance of V1WindowsSecurityContextOptions from a JSON string
v1_windows_security_context_options_instance = V1WindowsSecurityContextOptions.from_json(json)
# print the JSON string representation of the object
print(V1WindowsSecurityContextOptions.to_json())
# convert the object into a dict
v1_windows_security_context_options_dict = v1_windows_security_context_options_instance.to_dict()
# create an instance of V1WindowsSecurityContextOptions from a dict
v1_windows_security_context_options_from_dict = V1WindowsSecurityContextOptions.from_dict(v1_windows_security_context_options_dict)