Skip to content

fix(docs): correct zentinel config syntax in README#1

Merged
raffaelschneider merged 1 commit into
mainfrom
fix/readme-zentinel-config-syntax
Feb 25, 2026
Merged

fix(docs): correct zentinel config syntax in README#1
raffaelschneider merged 1 commit into
mainfrom
fix/readme-zentinel-config-syntax

Conversation

@raffaelschneider

Copy link
Copy Markdown
Contributor

Summary

Fixes incorrect zentinel KDL config syntax in README examples:

  • transport "unix_socket" { path "..." }unix-socket "..." — the block syntax is not recognized by zentinel's config parser
  • transport "grpc" { address "..." }grpc "..." — same issue for gRPC transport
  • events ["a", "b"]events "a" "b" — KDL has no array literal syntax; bracket notation causes parse errors

Same issue as zentinelproxy/zentinel-agent-image-optimization#2.

Test plan

  • Verify the KDL snippets parse correctly with zentinel

- `transport "unix_socket" { path "..." }` → `unix-socket "..."`
- `transport "grpc" { address "..." }` → `grpc "..."`
- `events ["a", "b"]` → `events "a" "b"` (KDL has no array literals)

The previous syntax didn't match zentinel's KDL config parser,
causing config load failures or silent misconfigurations.
@raffaelschneider raffaelschneider merged commit 002c186 into main Feb 25, 2026
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant