Open slonka opened 6 months ago
Doesn't look like it's done anywhere indeed: https://github.com/kumahq/kuma/blob/6858e83ea358fce6502ea7a05201294de50a0dae/pkg/core/resources/apis/mesh/meta_validator.go#L64-L75
Ok it's broken for all resources on universal:
./build/artifacts-darwin-arm64/kumactl/kumactl get meshtrafficpermission foo.dwqdw -oyaml
creationTime: "2024-02-19T15:49:31.32399Z"
mesh: default
modificationTime: "2024-02-19T15:49:31.32399Z"
name: foo.dwqdw
type: MeshTrafficPermission
from:
- default:
action: Allow
targetRef:
kind: Mesh
targetRef:
kind: Mesh
Let's disallow on Mesh and then check for impact on other resources.
Should we disallow .
in MeshService and Zone?
What happened?
If you create a mesh with
.
in the name it will succeed but the DPs will fail to start.