WindowsSecurityContextOptions class

WindowsSecurityContextOptions contain Windows-specific options and credentials.

Constructors

WindowsSecurityContextOptions({Input<String>? gmsaCredentialSpec, Input<String>? gmsaCredentialSpecName, Input<bool>? hostProcess, Input<String>? runAsUserName})
Creates a new WindowsSecurityContextOptions. gmsaCredentialSpec 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. gmsaCredentialSpecName GMSACredentialSpecName is the name of the GMSA credential spec to use. hostProcess 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. runAsUserName 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.
const
WindowsSecurityContextOptions.fromMap(Map<String, dynamic> map)
factory

Properties

gmsaCredentialSpec → Input<String>?
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.
final
gmsaCredentialSpecName → Input<String>?
GMSACredentialSpecName is the name of the GMSA credential spec to use.
final
hashCode → int
The hash code for this object.
no setterinherited
hostProcess → Input<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.
final
runAsUserName → Input<String>?
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited