nephio-project / nephio

Nephio is a Kubernetes-based automation platform for deploying and managing highly distributed, interconnected workloads such as 5G Network Functions, and the underlying infrastructure on which those workloads depend.
Apache License 2.0
93 stars 52 forks source link

Create unified representation of a package and its content in porch #691

Open liamfallon opened 3 months ago

liamfallon commented 3 months ago

Original issue URL: https://github.com/kptdev/kpt/issues/3238 Original issue user: https://github.com/mortent Original issue created at: 2022-05-25T14:52:07Z Original issue last updated at: 2022-05-25T14:52:07Z Original issue body: Create a unified representation of a package and its contents in the system. Porch Engine currently stores package contents as map[string]string (file name --> file contents, see PackageResources type) and kpt intrinsic algorithms work with kyaml filesys.FileSys interface, necessitating translation. Ideal representation would help minimize the need to not only translate the representation at the macro level but also reduce need for repeated parsing and serialization of YAML.

Original issue comments: