outposts: allow blank kubeconfig
This commit is contained in:
parent
34166d3c20
commit
221db12f85
|
@ -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.",
|
||||||
|
),
|
||||||
|
),
|
||||||
|
]
|
|
@ -234,7 +234,8 @@ class KubernetesServiceConnection(OutpostServiceConnection):
|
||||||
"Paste your kubeconfig here. authentik will automatically use "
|
"Paste your kubeconfig here. authentik will automatically use "
|
||||||
"the currently selected context."
|
"the currently selected context."
|
||||||
)
|
)
|
||||||
)
|
),
|
||||||
|
blank=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
|
@ -7345,7 +7345,6 @@ definitions:
|
||||||
description: KubernetesServiceConnection Serializer
|
description: KubernetesServiceConnection Serializer
|
||||||
required:
|
required:
|
||||||
- name
|
- name
|
||||||
- kubeconfig
|
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
pk:
|
pk:
|
||||||
|
|
Reference in New Issue