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.67k stars 333 forks source link

Code generation template clean up #3479

Closed parkanzky closed 2 years ago

parkanzky commented 2 years ago

Description

The current code autogeneration uses in-line template strings within the generation script. This leads to complicated escaping and other annoyances. It would be cleaner and simpler to keep the templates in separate files and import them for use within the script.

The generator refers to everything as the same gen type. The different types of code that are generated should be separated out.

github-actions[bot] commented 2 years ago

This issue was inactive for 30 days it will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant please comment on it promptly or attend the next triage meeting.

github-actions[bot] commented 2 years ago

This issue was inactive for 30 days it will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant please comment on it promptly or attend the next triage meeting.

github-actions[bot] commented 2 years ago

This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.

lahabana commented 2 years ago

The new generator for policies is much better now

github-actions[bot] commented 2 years ago

Automatically closing the issue due to having one of the "closed state label".