kumahq / kuma

🐻 The multi-zone service mesh for containers, Kubernetes and VMs. Built with Envoy. CNCF Sandbox Project.
https://kuma.io/install
Apache License 2.0
3.61k stars 332 forks source link

Inspect API should show the fields taken from Defaults/Mesh object #11493

Open slonka opened 4 hours ago

slonka commented 4 hours ago

Description

During test Friday we noticed that default value of mode is not shown in the inspect API output. This is because if the mode is not present in the policy it is taken from Mesh object. Then we had a discussion that actually there are other cases where values are not shown (like hardcoded default timeout values).

Given the fact that we would like the drawer (that the inspect API output is shown in)

image

to present the resulting config of the policy.

Maybe we should introduce some sort of other list apart from "rules".

lobkovilya commented 3 hours ago

xref https://github.com/kumahq/kuma-gui/issues/2975