Files
authentik/website/docs/developer-docs/api/reference/outposts-service-connections-kubernetes-create.api.mdx
2024-09-13 12:17:54 -05:00

457 lines
17 KiB
Plaintext

---
id: outposts-service-connections-kubernetes-create
title: "outposts_service_connections_kubernetes_create"
description: "KubernetesServiceConnection Viewset"
sidebar_label: "outposts_service_connections_kubernetes_create"
hide_title: true
hide_table_of_contents: true
api: eJzlV01v2zgQ/SsEL3vRWknaw8Kn7WaDhbHpNojTXIpAoKSxxJoitSSV1Gv4v3eGlC05UdIUKNDDXhKJms83bzjjLTctWOGl0YuSz7npfGucd5kDey8LyAqjNRT03WXrLgerwYPLCgvCA094Ca6wsiUBVP/7ILGM+ucHdXYr4cGBRx0vKsfnnw7O+F3CLfzbgfN/mHLD51uObj1oT4+ibZUsQojpZ0duttwVNTSCnvymBYo7/4xuvisePJFCyf/AolprCQcvwZFRLRoYGXfeSl2hVCP1JejK13x+uku4MoVQI7ncGAVCP4lisWKgRa6gTFjngPkaWNBlA7ozdo0ISAsl+9MUa7DM0T+fDimwBWJSxWJxdE/lQAMrWVEMxy6vhPPANqazbBBjNViYMdFhANrLNXuQStGradAoxqM2h/iKzloUwhMHCkPEuEJNvvgZ+b5H8FabzLnX5H8bhNlyecnOCeQVlRPzMavgapThu6sFQlW2RmLtd7tICwKF6BKqglTx0it4ubjXkU1o4siGtx3ggQPMTnok2iek1x4NfLvbBSa6FtkemXB2cvrz6diup8i4MhbLhiddJ0tOcYvyg1abmOYA00f6jFlPk/rn07gwDeLdo/s4yeOkIvFy4yB7rkWPQ74G31nNYjl+cexI+xvWs1Z19giYVzqJet/01YAXWWNKUN+XDLYGIokOgi57zvz/7XYYaPQU2p78CXXSIwpN1/x1t0y8Xo6zofTfnpz8wEvjFm+FMqiyC2vNxLQyOltJUGUG9N2NTAprxQYVpIfGTTR/aL9y6lrAL6IsJbkV6mrsbzdgM4QWI3sWjzc/EI+/QCNjisCGaUBKLL+caNwXsx1zqTcwYkHv9IU0Y0fXhrYo2mooKkGbAk/3e046sVSlw1KVchpNFvnowmTqrCJt0cr0/k3KaTbtJ9eSsIrJjubXIa3a+5aMBSlqPRAWbIiR0L4edq2LL6JpFQxLz3D59GMhDpNxR/cXjNQrE3z2EA2BBHEXgTk7OXs7+212+qSM78Ua/Ryum0gG5iSFM+NJYIsoAluQFlROXoNS5vfKHDzNpAkDDDHFgT1K4v3iBk1EAAkMN0/TSvq6y2d4T6QjE+nwlCuTp+hKp5eL84t/lhcBMKpcI/TI+L6crC/naPw5NpSTTe/Ioz547boci0q3a9oqjI9yDrlte4qNVulIoUck43EcRFf4QsyuiaOoud3mwsFHq3Y7OkZmWFqM8PFe4EaSU21xMUIFnDBIImLmGlCEn8c8fr2h+EhcdYEHj3t7l+w13hUFtP5F2btRG119WFIZ8/43QRN6l1vxQPMO/2LbJfj7JaaIAuFsy5XQVScqko02w2XWEVDDMIodkewfKKv9nak3owgRniBxY9agEaKkT8XTO4aLxr8Cc1+0uw==
sidebar_class_name: "post api-method"
info_path: docs/developer-docs/api/reference/authentik
custom_edit_url: null
hide_send_button: true
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"outposts_service_connections_kubernetes_create"}
>
</Heading>
<MethodEndpoint
method={"post"}
path={"/outposts/service_connections/kubernetes/"}
>
</MethodEndpoint>
KubernetesServiceConnection Viewset
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>
<MimeTabs
className={"openapi-tabs__mime"}
>
<TabItem
label={"application/json"}
value={"application/json-schema"}
>
<details
style={{}}
className={"openapi-markdown__details mime"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-mime"}
>
<h3
className={"openapi-markdown__details-summary-header-body"}
>
Body
</h3><strong
className={"openapi-schema__required"}
>
required
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"name"}
required={true}
schemaName={"string"}
qualifierMessage={"**Possible values:** `non-empty`"}
schema={{"type":"string","minLength":1}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"local"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean","description":"If enabled, use the local connection. Required Docker socket/Kubernetes Integration"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"kubeconfig"}
required={false}
schemaName={""}
qualifierMessage={undefined}
schema={{"description":"Paste your kubeconfig here. authentik will automatically use the currently selected context."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"verify_ssl"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean","description":"Verify SSL Certificates of the Kubernetes API endpoint"}}
>
</SchemaItem>
</ul>
</details>
</TabItem>
</MimeTabs><div>
<div>
<ApiTabs
label={undefined}
id={undefined}
>
<TabItem
label={"201"}
value={"201"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"pk"}
required={true}
schemaName={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid","readOnly":true,"title":"Uuid"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"local"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean","description":"If enabled, use the local connection. Required Docker socket/Kubernetes Integration"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"component"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"verbose_name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Return object's verbose_name","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"verbose_name_plural"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Return object's plural verbose_name","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"meta_model_name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Return internal model name","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"kubeconfig"}
required={false}
schemaName={""}
qualifierMessage={undefined}
schema={{"description":"Paste your kubeconfig here. authentik will automatically use the currently selected context."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"verify_ssl"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean","description":"Verify SSL Certificates of the Kubernetes API endpoint"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"pk\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"name\": \"string\",\n \"local\": true,\n \"component\": \"string\",\n \"verbose_name\": \"string\",\n \"verbose_name_plural\": \"string\",\n \"meta_model_name\": \"string\",\n \"verify_ssl\": true\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem><TabItem
label={"400"}
value={"400"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"non_field_errors"}
required={false}
schemaName={"string[]"}
qualifierMessage={undefined}
schema={{"type":"array","items":{"type":"string"}}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"code"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
name={"property name*"}
required={false}
schemaName={"any"}
qualifierMessage={undefined}
schema={{"type":"object","description":"Validation Error","properties":{"non_field_errors":{"type":"array","items":{"type":"string"}},"code":{"type":"string"}},"additionalProperties":{},"title":"ValidationError"}}
collapsible={false}
discriminator={false}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"non_field_errors\": [\n \"string\"\n ],\n \"code\": \"string\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem><TabItem
label={"403"}
value={"403"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"detail"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"code"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"detail\": \"string\",\n \"code\": \"string\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem>
</ApiTabs>
</div>
</div>