WindowsSecurityContextOptions class
WindowsSecurityContextOptions contain Windows-specific options and credentials.
Constructors
- WindowsSecurityContextOptions({String? gmsaCredentialSpec, String? gmsaCredentialSpecName, bool? hostProcess, String? runAsUserName})
-
Default constructor.
const
-
WindowsSecurityContextOptions.fromJson(Map<
String, dynamic> json) -
Creates a WindowsSecurityContextOptions from JSON data.
factory
Properties
- gmsaCredentialSpec → 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 → String?
-
GMSACredentialSpecName is the name of the GMSA credential spec to use.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hostProcess → bool?
-
HostProcess determines if a container should be run as a 'Host Process' container. This field is alpha-level and will only be honored by components that enable the WindowsHostProcessContainers feature flag. Setting this field without the feature flag will result in errors when validating the Pod. 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 → 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
-
toJson(
) → Map< String, Object> - Converts a WindowsSecurityContextOptions instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited