case class ServiceAccount(automountServiceAccountToken: Optional[Boolean] = Optional.Absent, imagePullSecrets: Optional[Vector[LocalObjectReference]] = Optional.Absent, metadata: Optional[ObjectMeta] = Optional.Absent, secrets: Optional[Vector[ObjectReference]] = Optional.Absent) extends Product with Serializable
ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets
- automountServiceAccountToken
AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.
- imagePullSecrets
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
- secrets
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret
- Alphabetic
- By Inheritance
- ServiceAccount
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ServiceAccount(automountServiceAccountToken: Optional[Boolean] = Optional.Absent, imagePullSecrets: Optional[Vector[LocalObjectReference]] = Optional.Absent, metadata: Optional[ObjectMeta] = Optional.Absent, secrets: Optional[Vector[ObjectReference]] = Optional.Absent)
- automountServiceAccountToken
AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.
- imagePullSecrets
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
- secrets
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret
Value Members
- val automountServiceAccountToken: Optional[Boolean]
-
def
getAutomountServiceAccountToken: IO[K8sFailure, Boolean]
AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.
AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getImagePullSecrets: IO[K8sFailure, Vector[LocalObjectReference]]
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getMetadata: IO[K8sFailure, ObjectMeta]
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSecrets: IO[K8sFailure, Vector[ObjectReference]]
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val imagePullSecrets: Optional[Vector[LocalObjectReference]]
- val metadata: Optional[ObjectMeta]
- val secrets: Optional[Vector[ObjectReference]]