Open shanshanying opened 4 weeks ago
we'd better validat if the Addon can be updated (e.g. in kbcli
To update parameters in this way, you need to upgrade the addon version first.
Discussing with @shanshanying , we can add an interception for kbcli to prevent users from updating parameters.
@ahjing99 we used Webhook conversion to support multi-version APIs. shoud enable webhook to make sure multi-version ConfigConstraints works (both v1alpha1 and v1beta1 works).
It is best to consider the multi-version of 1.0 and use the same upgrade strategy. In version 1.0, more crds have multiple versions, which is more likely to cause problems.
Describe the bug Patching an addon, upgraded from KB0.8, will fail.
To Reproduce Steps to reproduce the behavior:
milvus
kbcli addon enable milvus --set images.milvus.repository=test.io
the intention of this issue is to update milvus' images defined in ClusterDefinitionmilvus-2.3.2
helm upgrad -i
commandScreenshots
Quick fix to patch the ConfigConstraint's fileFormatConfig api:
When upgrading from KB 08 to KB09, KubeBlocks will perform an upgrading job and converting existing CR's into KB09 compatible formats. But the addon is not aware of this. When there is an update applied to the Addon cr, Addon Controller will do a helm upgrade, using KB 08's Addon Version.