Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix example control-plane-request-limit HCL and JSON #19105

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,48 +40,48 @@ When every field is defined, a control plane request limit configuration entry h
<CodeTabs>

```hcl
kind = "control-plane-request-limit"
name = "<name-for-the-entry>"
Kind = "control-plane-request-limit"
Name = "<name-for-the-entry>"

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": "<name-for-the-entry>",
"mode": "permissive",
"read_rate": 100,
"write_rate": 100,
"kv": {
"read_rate": 100,
"write_rate": 100
"Kind": "control-plane-request-limit",
"Name": "<name-for-the-entry>",
"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
}
}
```
Expand Down