From 4b304d49347bfbc930211e1e248db2beaafd4869 Mon Sep 17 00:00:00 2001 From: hc-github-team-consul-core Date: Tue, 17 Oct 2023 15:54:32 -0400 Subject: [PATCH] Backport of docs: Fix example control-plane-request-limit HCL and JSON into release/1.16.x (#19254) 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 aa1fa86af..0e4d0d9d6 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 } } ```