EPIC: kro
deployer with restricted access to cluster resources (RBAC)
#199
Labels
kind/epic
Large multi-story topic
needs/refinement
Discuss with the team and gain a shared understanding
needs/validation
Validate the issue and assign a priority
Milestone
Description
The deployer introduced by #172 uses
Kro
and itsResourceGraphDefinition
to deploy resources from an OCM component version. However, this requires that not only theocm-controllers
v2 (akaocm-k8s-toolkit
) is deployed in the cluster but alsoKro
. Eventually, the deployment ofKro
will also be in our scope (as MCP component or part of the OCM controller deployment).As
Kro
is a deployer for resources in a cluster, it requires appropriate permissions in that cluster. As describedKro
can be deployed inunrestricted
oraggregation
mode. Of course theunrestricted
mode is not feasible for production environments.Accordingly, we have to find a way and make sure to use the
aggregation
mode.User Story
As a DevOps admin, I want to deploy the OCM controllers into my (MCP) cluster and use them to deploy resources from an OCM component version. Preferably, I do not want to deploy and configure
Kro
myself but use a process that does this for me appropriately.Discussion:
We agreed that a functionality analyzing the RGD (or rather, the resources specified in the RGD) to dynamically provide KRO with the sufficient authorizations (create, update, get, list, delete) for those resources (and therefore to operate as expected) through the mechanism described in KRO access control documentation is desired.
We did not agree on details yet (e.g. where or how exactly that functionality should be implemented or whether we might even be able to contribute something to the KRO project). These details will have to be revisited.
Scope
Out of Scope
The text was updated successfully, but these errors were encountered: