package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Service_account 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

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?secrets:Kubernetes.Definitions.Api.Core.V1.Object_reference.t list -> ?metadata:Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Object_meta.t -> ?kind:string -> ?image_pull_secrets: Kubernetes.Definitions.Api.Core.V1.Local_object_reference.t list -> ?automount_service_account_token:bool -> ?api_version:string -> unit -> t
val api_version : t -> string option

Api_version defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources

val automount_service_account_token : t -> bool option

Automount_service_account_token indicates whether pods running as this service account should have an Api token automatically mounted. Can be overridden at the pod level.

val image_pull_secrets : t -> Kubernetes.Definitions.Api.Core.V1.Local_object_reference.t list option

Image_pull_secrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this Service_account. Image_pull_secrets are distinct from Secrets because Secrets can be mounted in the pod, but Image_pull_secrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod

val kind : t -> string option

Kind is a string value representing the Rest resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In Camel_case. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

Secrets is the list of secrets allowed to be used by pods running using this Service_account. More info: https://kubernetes.io/docs/concepts/configuration/secret

module Object : Object.S with type value := t
OCaml

Innovation. Community. Security.