Interface V1.WindowsSecurityContextOptionsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1.WindowsSecurityContextOptions, V1.WindowsSecurityContextOptions.Builder
Enclosing class:
V1

public static interface V1.WindowsSecurityContextOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    com.google.protobuf.ByteString
    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 is the name of the GMSA credential spec to use.
    com.google.protobuf.ByteString
    GMSACredentialSpecName is the name of the GMSA credential spec to use.
    boolean
    HostProcess determines if a container should be run as a 'Host Process' container.
    The UserName in Windows to run the entrypoint of the container process.
    com.google.protobuf.ByteString
    The UserName in Windows to run the entrypoint of the container process.
    boolean
    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.
    boolean
    GMSACredentialSpecName is the name of the GMSA credential spec to use.
    boolean
    HostProcess determines if a container should be run as a 'Host Process' container.
    boolean
    The UserName in Windows to run the entrypoint of the container process.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasGmsaCredentialSpecName

      boolean hasGmsaCredentialSpecName()
       GMSACredentialSpecName is the name of the GMSA credential spec to use.
       +optional
       
      optional string gmsaCredentialSpecName = 1;
    • getGmsaCredentialSpecName

      String getGmsaCredentialSpecName()
       GMSACredentialSpecName is the name of the GMSA credential spec to use.
       +optional
       
      optional string gmsaCredentialSpecName = 1;
    • getGmsaCredentialSpecNameBytes

      com.google.protobuf.ByteString getGmsaCredentialSpecNameBytes()
       GMSACredentialSpecName is the name of the GMSA credential spec to use.
       +optional
       
      optional string gmsaCredentialSpecName = 1;
    • hasGmsaCredentialSpec

      boolean hasGmsaCredentialSpec()
       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
       
      optional string gmsaCredentialSpec = 2;
    • getGmsaCredentialSpec

      String getGmsaCredentialSpec()
       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
       
      optional string gmsaCredentialSpec = 2;
    • getGmsaCredentialSpecBytes

      com.google.protobuf.ByteString getGmsaCredentialSpecBytes()
       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
       
      optional string gmsaCredentialSpec = 2;
    • hasRunAsUserName

      boolean hasRunAsUserName()
       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
       
      optional string runAsUserName = 3;
    • getRunAsUserName

      String getRunAsUserName()
       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
       
      optional string runAsUserName = 3;
    • getRunAsUserNameBytes

      com.google.protobuf.ByteString getRunAsUserNameBytes()
       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
       
      optional string runAsUserName = 3;
    • hasHostProcess

      boolean hasHostProcess()
       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.
       +optional
       
      optional bool hostProcess = 4;
    • getHostProcess

      boolean getHostProcess()
       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.
       +optional
       
      optional bool hostProcess = 4;