Skip to content

[feature] Metacontroller resource list loaded from ConfigMap #11851

Open
@grudloffev

Description

@grudloffev

Feature Area

/area components

What feature would you like to see?

Currently, in the Pipellines Controller, the resources on each user namespace are indicated through the sync.py file. It would be great if these where defined in a separate yaml file (mounted through a ConfigMap) instead of the current approach where these are hardcoded into the python script.

This would be great for readability but more importantly, it would facilitate customization, as this would allow the addition or modification of resources through a kustomization.yaml file.

What is the use case or pain point?

Currently, if one needs to automatically add additional resources to each user namespace (for example a PodDefault) the sync.py file needs to be modified by adding the additional resources to the desired_resources list. This is currently not possible through kustomize, and therefore this should be performed either manually or through an script to generate a modified sync.py file. Furthermore, any updates to the upstream sync.py will not be reflected in this modified file and therefore introduces a potential point of failure if one chooses to do so.

Is there a workaround currently?

N/A

Love this idea? Give it a 👍.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions