outposts: allow blank kubeconfig

This commit is contained in:
Jens Langhammer 2020-12-24 13:14:20 +01:00
parent 34166d3c20
commit 221db12f85
3 changed files with 23 additions and 2 deletions

View File

@ -0,0 +1,21 @@
# Generated by Django 3.1.4 on 2020-12-24 12:06
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("authentik_outposts", "0014_auto_20201213_1407"),
]
operations = [
migrations.AlterField(
model_name="kubernetesserviceconnection",
name="kubeconfig",
field=models.JSONField(
blank=True,
help_text="Paste your kubeconfig here. authentik will automatically use the currently selected context.",
),
),
]

View File

@ -234,7 +234,8 @@ class KubernetesServiceConnection(OutpostServiceConnection):
"Paste your kubeconfig here. authentik will automatically use "
"the currently selected context."
)
)
),
blank=True,
)
@property

View File

@ -7345,7 +7345,6 @@ definitions:
description: KubernetesServiceConnection Serializer
required:
- name
- kubeconfig
type: object
properties:
pk: