WindowsSecurityContextOptions

case class WindowsSecurityContextOptions(gmsaCredentialSpec: Optional[String], gmsaCredentialSpecName: Optional[String], runAsUserName: Optional[String])

WindowsSecurityContextOptions contain Windows-specific options and credentials.

WindowsSecurityContextOptions contain Windows-specific options and credentials.

Value Params
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.

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.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

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.

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.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

GMSACredentialSpecName is the name of the GMSA credential spec to use.

GMSACredentialSpecName is the name of the GMSA credential spec to use.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getRunAsUserName: IO[K8sFailure, 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.

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.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product