From 81a1111962158e5af8ed9dde435c86bc36d2eb37 Mon Sep 17 00:00:00 2001
From: Thomas Gambier <thomas.gambier@nexedi.com>
Date: Tue, 29 Jan 2019 12:08:35 +0100
Subject: [PATCH] [frontend] SSL Backend Authority's Certificate is a textarea

---
 software/apache-frontend/instance-slave-apache-input-schema.json | 1 +
 software/caddy-frontend/instance-slave-caddy-input-schema.json   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/software/apache-frontend/instance-slave-apache-input-schema.json b/software/apache-frontend/instance-slave-apache-input-schema.json
index 44a1fef00..80405a60a 100644
--- a/software/apache-frontend/instance-slave-apache-input-schema.json
+++ b/software/apache-frontend/instance-slave-apache-input-schema.json
@@ -97,6 +97,7 @@
       "title": "SSL Backend Authority's Certificate",
       "description": "Content of the SSL Certificate Authority file of the backend (to be used with ssl-proxy-verify)",
       "type": "string",
+      "textarea": true,
       "default": ""
     },
     "monitor-ipv6-test": {
diff --git a/software/caddy-frontend/instance-slave-caddy-input-schema.json b/software/caddy-frontend/instance-slave-caddy-input-schema.json
index fb91b6fbb..5f3d4d8e9 100644
--- a/software/caddy-frontend/instance-slave-caddy-input-schema.json
+++ b/software/caddy-frontend/instance-slave-caddy-input-schema.json
@@ -163,6 +163,7 @@
     "ssl_proxy_ca_crt": {
       "default": "",
       "description": "Content of the SSL Certificate Authority file of the backend (to be used with ssl-proxy-verify)",
+      "textarea": true,
       "title": "SSL Backend Authority's Certificate",
       "type": "string"
     },
-- 
2.30.9