Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

kra pod edit should render compose and then use the launch api  #19

@aep

Description

@aep

kra pod edit uses a json object that is only available in this api.

while its a good format in isolation, its just weird in context of having originally used compose or run to launch a pod and then edit it in a totally different format.

ideally we want a way to render a namespace or pod as canonical compose.
i.e do not just store the compose file, since we also support run and technically still k8s.
also we might change the syntax slightly over time, and the original compose wouldnt even work anymore.

editing a namespace this way will always be non ideal because a later kra up from local compose file will just undo it,
so i suggest adding a taint to a namespace. that is the user gets a warning before applying. (see also #18)

in an ideal future, we keep all diffs as log, so we can even show the diff, but probably not yet.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions