Interface SecurityContext.Builder

  • Method Details

    • privileged

      SecurityContext.Builder privileged(Boolean privileged)

      Whether the container is privileged.

      Parameters:
      privileged - Whether the container is privileged.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowPrivilegeEscalation

      SecurityContext.Builder allowPrivilegeEscalation(Boolean allowPrivilegeEscalation)

      Whether or not a container or a Kubernetes pod is allowed to gain more privileges than its parent process.

      Parameters:
      allowPrivilegeEscalation - Whether or not a container or a Kubernetes pod is allowed to gain more privileges than its parent process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.