+ {error && (
+
+ Error
+ {error}
+
+ )}
+
+
+
+ setConfig({ ...config, name: e.target.value })}
+ placeholder="e.g., Production Cluster"
+ disabled={loading}
+ />
+
+
+
+
+ setConfig({ ...config, url: e.target.value })}
+ placeholder="https://pve.example.com:8006"
+ disabled={loading}
+ />
+
+
+
+
+ setConfig({ ...config, username: e.target.value })}
+ placeholder="root@pam"
+ disabled={loading}
+ />
+
+
+
+
+
+
+
+
+
+
setConfig({ ...config, password: e.target.value })}
+ placeholder="Enter password"
+ disabled={loading}
+ />
+
+ Leave blank to use API token authentication
+
+
+
+
+
+ setConfig({ ...config, tokenName: e.target.value })}
+ placeholder="e.g., mytoken"
+ disabled={loading}
+ />
+
+
+
+
+ setConfig({ ...config, tokenValue: e.target.value })}
+ placeholder="Enter token value"
+ disabled={loading}
+ />
+
+
+
+
+ setConfig({ ...config, verifyCertificate: e.target.checked })
+ }
+ disabled={loading}
+ className="rounded border-gray-300 text-primary focus:ring-primary"
+ />
+
+
+
+
+
+ setConfig({ ...config, description: e.target.value })}
+ placeholder="Optional description"
+ disabled={loading}
+ />
+
+
+
+
+
+
+
+