Prevent flux install
overriding a bootstrapped cluster
#4341
Labels
area/install
Install and uninstall related issues and pull requests
area/ux
In pursuit of a delightful user experience
To prevent people from upgrading by mistake a cluster with
flux install
when the cluster has been bootstrapped, we can look for thekustomize.toolkit.fluxcd.io/name
andkustomize.toolkit.fluxcd.io/namespace
labels on thegitrepositories.source.toolkit.fluxcd.io
CRD. If the CRD exists and has these labels, we should return an error like so:The Flux version should be extracted from the
app.kubernetes.io/version
label value.The text was updated successfully, but these errors were encountered: