k8s v0.2.6 K8s.Conf
Handles authentication and connection configuration details for a Kubernetes cluster.
Link to this section Summary
Functions
Reads configuration details from a kubernetes config file.
Generates configuration from kubernetes service account
Link to this section Types
Link to this section Functions
Link to this function
from_file(config_file, opts \\ [])
from_file(config_file, opts \\ [])
from_file(binary(), keyword()) :: K8s.Conf.t()
from_file(binary(), keyword()) :: K8s.Conf.t()
Reads configuration details from a kubernetes config file.
Defaults to current-context
.
Options
context
sets an alternate contextcluster
set or override the cluster read from the contextuser
set or override the user read from the context
Link to this function
from_service_account()
from_service_account()
from_service_account() :: K8s.Conf.t()
from_service_account() :: K8s.Conf.t()
Generates configuration from kubernetes service account
Links
Link to this function
from_service_account(root_sa_path)
from_service_account(root_sa_path)
from_service_account(String.t()) :: K8s.Conf.t()
from_service_account(String.t()) :: K8s.Conf.t()