aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/resources/schema/containercluster.rnc
diff options
context:
space:
mode:
authorMorten Tokle <mortent@yahooinc.com>2022-11-15 16:41:58 -0800
committerBjørn Christian Seime <bjorncs@yahooinc.com>2022-11-22 13:43:04 +0100
commit31b630d66ac9ecaac56dbaafabc5765bda7a4041 (patch)
tree4fc02b6c4b65f4d924dda224cc8fa0e6c36627d5 /config-model/src/main/resources/schema/containercluster.rnc
parentc5fec6f177eb6ab03db6b1745d904f2ab80c9f39 (diff)
Add schema for clients
Diffstat (limited to 'config-model/src/main/resources/schema/containercluster.rnc')
-rw-r--r--config-model/src/main/resources/schema/containercluster.rnc15
1 files changed, 14 insertions, 1 deletions
diff --git a/config-model/src/main/resources/schema/containercluster.rnc b/config-model/src/main/resources/schema/containercluster.rnc
index 1d31435dad1..72691a1129b 100644
--- a/config-model/src/main/resources/schema/containercluster.rnc
+++ b/config-model/src/main/resources/schema/containercluster.rnc
@@ -23,7 +23,8 @@ ContainerServices =
AccessLog* &
SecretStore? &
ZooKeeper? &
- GenericConfig*
+ GenericConfig* &
+ Clients?
# TODO(ogronnesby): Change this configuration syntax
ClientAuthorize = element client-authorize { empty }
@@ -127,6 +128,18 @@ Threadpool = element threadpool {
element queue-size { xsd:nonNegativeInteger }
}
+Clients = element clients {
+ Client*
+}
+
+Client = element client {
+ ComponentId &
+ attribute permissions { string } &
+ element certificate {
+ attribute file { string }
+ }+
+}
+
# SEARCH:
SearchInContainer = element search {