| Field | Type | Description | Value(s) |
|---|---|---|---|
name | string | Name of the authorizer, should be be DNS1123 labels like myauthorizername or subdomains like myauthorizer.example.domain. | |
type | string | Type is the name of the authorizer. | NodeRBACWebhook |
webhook | Unstructured | Webhook is the configuration for the webhook authorizer. This field is required if the AuthorizerType is Webhook, should not be set for other authorizer types. The value is the literal Kubernetes webhook authorizer configuration. When kubeconfig is set, connectionInfo should be omitted, as Talos fills it in. | |
kubeconfig | string | Kubeconfig kube-apiserver uses to connect to the webhook authorizer. Talos writes the kubeconfig to a file inside the kube-apiserver static pod and sets webhook.connectionInfo to type: KubeConfigFile pointing to that file.This field can only be set for the Webhook authorizer type. The kubeconfig should be self-contained: kube-apiserver can’t access any files on the host, so certificates and keys should be specified inline ( certificate-authority-data, client-certificate-data,client-key-data), and tokenFile, exec and auth-provider are not supported.If the certificate authority is not specified, kube-apiserver uses the trusted root CAs of the machine. |
Kubernetes
KubeAuthorizerConfig
KubeAuthorizerConfig configures kube-apiserver authorization by configuring a specific authorization plugin.