From a0e0f50cdf811ecd6b5d326e2b9855e7a8a4e830 Mon Sep 17 00:00:00 2001 From: hc-github-team-consul-core Date: Tue, 17 Oct 2023 15:58:30 -0400 Subject: [PATCH] Backport of docs: Fix example control-plane-request-limit HCL and JSON into release/1.17.x (#19255) backport of commit e5b6120abb51d759c74c727bdb54f2f328367d0d Co-authored-by: Blake Covarrubias --- .../control-plane-request-limit.mdx | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/website/content/docs/connect/config-entries/control-plane-request-limit.mdx b/website/content/docs/connect/config-entries/control-plane-request-limit.mdx index c89e87832d..d6e828e670 100644 --- a/website/content/docs/connect/config-entries/control-plane-request-limit.mdx +++ b/website/content/docs/connect/config-entries/control-plane-request-limit.mdx @@ -40,48 +40,48 @@ When every field is defined, a control plane request limit configuration entry h ```hcl -kind = "control-plane-request-limit" -name = "" +Kind = "control-plane-request-limit" +Name = "" -mode = "permissive" +Mode = "permissive" -read_rate = 100 -write_rate = 100 +ReadRate = 100 +WriteRate = 100 -kv = { - read_rate = 100 - write_rate = 100 +KV = { + ReadRate = 100 + WriteRate = 100 } -acl = { - read_rate = 100 - write_rate = 100 +ACL = { + ReadRate = 100 + WriteRate = 100 } -catalog = { - read_rate = 100 - write_rate = 100 +Catalog = { + ReadRate = 100 + WriteRate = 100 } ``` ```json { - "kind": "control-plane-request-limit", - "name": "", - "mode": "permissive", - "read_rate": 100, - "write_rate": 100, - "kv": { - "read_rate": 100, - "write_rate": 100 + "Kind": "control-plane-request-limit", + "Name": "", + "Mode": "permissive", + "ReadRate": 100, + "WriteRate": 100, + "KV": { + "ReadRate": 100, + "WriteRate": 100 }, - "acl": { - "read_rate": 100, - "write_rate": 100 + "ACL": { + "ReadRate": 100, + "WriteRate": 100 }, - "catalog": { - "read_rate": 100, - "write_rate": 100 + "Catalog": { + "ReadRate": 100, + "WriteRate": 100 } } ```