Allow seamless GNP updates #500
Description
Right now it's impossible to update GNPs on a running cluster using lokoctl
without re-deploying the control plane (for example, the user might want to change management_cidrs
). The reason it's impossible is that we apply the GNP manifests using Bootkube, which isn't re-runnable.
I suggest we consider moving the GNP manifests out of the Bootkube module and applying them as a post-deployment step which always runs as part of lokoctl cluster apply
. The manifests are already defined in a Helm chart.
We probably need to introduce a mechanism which allows applying arbitrary manifests/charts as part of an apply
operation. One way of thinking about this functionality is "auto-applied components". It could make sense to reuse existing logic we already have for Lokomotive components for this functionality. However, things like GNPs should always be applied, so we don't want an optional component {}
block for them.