Replies: 1 comment 3 replies
-
|
Hi @mancave , the reason is that it the dependent resource is using SSA, see: SSA does not delete the other fields, which are not managed by the controller. The framework by default not uses SSA for config maps but it is required for this sample, so it adds owner references properly. Note that dependent resources are quite limited for this use case. I will create an issue to enhance that, and showcase how it could be done, but note that it will probably feel "hacky". So might be just easier for you to use just the base level API, simply manipulate the resource using the client to tailor the logic to you needs. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using the latest version(5.2.2) of the operator framework and the sample "Dependent Resource Shared by Multiple Owners".
The share config-map will be maintained by the CRD's, but if you change the config map external by example with freelens adding addition data.
The reconcile is doing it's thing to reconsile and the desired state per applied crd's, but it will not detect that the extra data is there while that should actually been deleted.
How to solve that problem.
Thnxs
Beta Was this translation helpful? Give feedback.
All reactions