-
Hi! This due to the need of cert-manager to edit the same ingress (acme.cert-manager.io/http01-edit-in-place annotation). Thanks very much! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hi @juangon, it can be done by overriding the Recently a sample was added that, shows how to make sure that some parts of the the desired are not modifiable, see: So basically in this sample the desired is calculated based on actual resource (that contains already parts added by other controllers), you can use those and add those parts into the controller. |
Beta Was this translation helpful? Give feedback.
-
Hi again @csviri , I was reviewing this approach again. It's clear that desired should be modiified in order to get changes from actual resource. But how about "match"? In your example it wasn`t implemented. Is it really needed? |
Beta Was this translation helpful? Give feedback.
Hi @juangon,
it can be done by overriding the
matcher
and/or handling this in the desired state.So if something is just added by other controllers, you can skip those in the
matcher
.Recently a sample was added that, shows how to make sure that some parts of the the desired are not modifiable, see:
#1746
So basically in this sample the desired is calculated based on actual resource (that contains already parts added by other controllers), you can use those and add those parts into the controller.