diff --git a/app/_src/policies/meshproxypatch.md b/app/_src/policies/meshproxypatch.md index 9149bc510..690af099f 100644 --- a/app/_src/policies/meshproxypatch.md +++ b/app/_src/policies/meshproxypatch.md @@ -160,7 +160,7 @@ spec: origin: inbound # optional: if absent, all clusters regardless of its origin will be patched jsonPatches: # optional and mutually exclusive with "value": list of modifications in JSON Patch notation - op: add - path: /transportSocket/typedConfig/commonTlsContext/tlsParams + path: /transportSocket/typedConfig/commonTlsContext/tlsParams # remember to always use camelCase value: tlsMinimumProtocolVersion: TLSv1_2 - op: add @@ -1473,6 +1473,10 @@ All modifications from `appendModification` list are always merged. For example, if there is a policy with `targetRef.kind: Mesh` and second policy with `targetRef.kind: MeshService` that matches a data plane proxy, all modifications from both policies will be applied. +## JSON Patch + +If you use JSON Patch, remember to always use _snakeCase_ instead of _camel_case_ in `path` parameter even though you see _camel_case_ in Envoy Config Dump. + ## Examples