Add prompt when overriding a Helm-managed Flux installation #4342
Labels
area/bootstrap
Bootstrap related issues and pull requests
area/install
Install and uninstall related issues and pull requests
area/ux
In pursuit of a delightful user experience
When running
flux bootstrap
orflux install
we should detect if Flux is already installed on the cluster with Helm.We can look for the
app.kubernetes.io/managed-by
label on thegitrepositories.source.toolkit.fluxcd.io
CRD. If the CRD exists and has this label, and if the value is set toHelm
or any other manager besidesFlux
, we should prompt like so:The Flux version should be extracted from the
app.kubernetes.io/version
label value.Both
flux bootstrap
andflux install
commands should have a--force
flag, when set, this will bypass the above prompt.The text was updated successfully, but these errors were encountered: