01/12/2023, 7:41 PM
Hi, Is there a feature flag in Rancher server to disabled RKE2, and not to create CAPI CRDs? I want to bring my own CAPI providers, and am finding that the rancher implementation is getting in the way of this: • Rancher installs its own versions of CAPI CRDs that may not necessarily be desired CRD versions • Rancher has its own CAPI webhooks that conflict with the CAPI controller webhook • There does not seem to be a way to tell rancher to only watch certain CAPI Resources If this feature flag exists, that would be really helpful for my use case: disabling RKE2 and the associated Rancher capi controllers.


01/13/2023, 6:38 PM
There are feature flags for what you’re looking for:
should be enough for what you’re looking for. There is an
feature flag, but I don’t think that will interfere with CAPI.
It’s been a while since I dug into these things too much. There is a chance that trying to disable these on an existing Rancher instance won’t work because Rancher will turn them back on automatically.


01/13/2023, 7:16 PM
Thanks, donnie. These feature flags are exactly what I need