Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
tokenAuth :: DetectAuth Source #
Detects if token is specified in AuthConfig, if it is configures KubernetesClientConfig
with AuthApiKeyBearerToken
:: Text | Authentication token |
-> KubernetesClientConfig | |
-> KubernetesClientConfig |
Configures the KubernetesClientConfig
to use token authentication.