case class K8sClusterConfig(host: Uri, authentication: K8sAuthentication, client: K8sClientConfig) extends Product with Serializable
Configures the zio-k8s client
This is the top level configuration class.
- host
URL of the Kubernetes API
- authentication
Authentication method to use
- client
HTTP client configuration
- Alphabetic
- By Inheritance
- K8sClusterConfig
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
K8sClusterConfig(host: Uri, authentication: K8sAuthentication, client: K8sClientConfig)
- host
URL of the Kubernetes API
- authentication
Authentication method to use
- client
HTTP client configuration
Value Members
- val authentication: K8sAuthentication
- val client: K8sClientConfig
-
def
dropTrailingDot: K8sClusterConfig
Drops the trailing dot from the configured host name.
Drops the trailing dot from the configured host name.
This is a workaround for an issue when the kubeconfig file contains hostnames with trailing dots which is not supported by the hostname verification algorithm. Use this together with the K8sServerCertificate.Secure.disableHostnameVerification option.
- val host: Uri