Skip to main content

outposts_service_connections_kubernetes_create

POST 

/api/v3//outposts/service_connections/kubernetes/

KubernetesServiceConnection Viewset

Request

Body

required

    name stringrequired

    Possible values: non-empty

    local boolean

    If enabled, use the local connection. Required Docker socket/Kubernetes Integration

    kubeconfig

    Paste your kubeconfig here. authentik will automatically use the currently selected context.

    verify_ssl boolean

    Verify SSL Certificates of the Kubernetes API endpoint

Responses

Schema

    pk uuidrequired
    name stringrequired
    local boolean

    If enabled, use the local connection. Required Docker socket/Kubernetes Integration

    component stringrequired
    verbose_name stringrequired

    Return object's verbose_name

    verbose_name_plural stringrequired

    Return object's plural verbose_name

    meta_model_name stringrequired

    Return internal model name

    kubeconfig

    Paste your kubeconfig here. authentik will automatically use the currently selected context.

    verify_ssl boolean

    Verify SSL Certificates of the Kubernetes API endpoint

curl -L -X POST '/api/v3/outposts/service_connections/kubernetes/' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"name": "string",
"local": true,
"verify_ssl": true
}'
Request Collapse all
Base URL
/api/v3
Auth
Body required
{
  "name": "string",
  "local": true,
  "verify_ssl": true
}