k8s v0.2.6 K8s.Config

K8s runtime configuration

Link to this section Summary

Functions

export K8S_CLUSTER_CONF_SA_us_central=true export K8S_CLUSTER_CONF_PATH_us_east="east.yaml" export K8S_CLUSTER_CONF_CONTEXT_us_east="east" export K8S_CLUSTER_CONF_PATH_us_west="west.yaml" export K8S_CLUSTER_CONF_CONTEXT_dev="context-name" iex -S mix

Cluster configuration read from env variables. To be merged over Application.get_env(:k8s, :clusters).

Link to this section Functions

Link to this function

cluster_name(arg)

export K8S_CLUSTER_CONF_SA_us_central=true export K8S_CLUSTER_CONF_PATH_us_east="east.yaml" export K8S_CLUSTER_CONF_CONTEXT_us_east="east" export K8S_CLUSTER_CONF_PATH_us_west="west.yaml" export K8S_CLUSTER_CONF_CONTEXT_dev="context-name" iex -S mix

Link to this function

get_config_kv(arg, conf_opts_context)

Link to this function

runtime_clusters_config(config)
runtime_clusters_config(map()) :: map()

Cluster configuration read from env variables. To be merged over Application.get_env(:k8s, :clusters).