We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3345c9a commit 876c0c5Copy full SHA for 876c0c5
platform/constants/ui-spec.json
@@ -15,12 +15,13 @@
15
{
16
"name": "kubeconfig",
17
"label": "Kube config",
18
- "inputType": "text",
+ "inputType": "file",
19
"required": true,
20
"order": 1,
21
"validation": {
22
- "pattern": ".*",
23
- "errorMessage": ""
+ "fileTypes": [".yaml", ".yml"],
+ "maxFileSizeMB": 5,
24
+ "errorMessage": "Please upload a valid kube config yaml file not exceeding 5MB."
25
},
26
"info": "Kubeconfig file content, make sure that the currentContext is set to the desired cluster.",
27
"external_help_url": "https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/"
0 commit comments