operator-framework / operator-controller

Apache License 2.0
28 stars 47 forks source link

[epic] Permission validation pre-flight check #988

Open everettraven opened 5 days ago

everettraven commented 5 days ago

One #737 is implemented, it will be important to have a pre-flight check that is able to evaluate if the ServiceAccount provided in the ClusterExtension has sufficient permissions to stamp out the content for a bundle on the cluster. Having this pre-flight check would:

I have done some previous work related to this in Carvel's kapp project [1]. It can be used as an inspiration for our own implementation or pulled in as a library (with a lightweight abstraction on top to satisfy the Preflight interface introduced in #979).

References: