Skip to content

Inline append/change #220

@dee-kryvenko

Description

@dee-kryvenko

Looking at kubebuilder, they have the concept of markers like for example:

# +kubebuilder:scaffold:crdkustomizeresource

The marker is used to insert additional content into a previously rendered file upon variables changing, preserving any manual edits of the file.

I am also thinking about block markers, that I am not sure kubebuilder supports (haven't ran into it) that would indicate in a rendered file the part that is auto generated. Basically, I am thinking of ways to mix up auto generated code and manual edits in the same file.

Doesn't like like Partials are allowing for that use case, am I missing something? Can this be implemented?

Metadata

Metadata

Assignees

No one assigned

    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