You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Patching an addon, upgraded from KB0.8, will fail.
To Reproduce
Steps to reproduce the behavior:
install KB 0.8
kbcli addon enable milvus
upgrade to KB 0.9
KB is working as expected
patch milvus addon by kbcli addon enable milvus --set images.milvus.repository=test.io
the intention of this issue is to update milvus' images defined in ClusterDefinition milvus-2.3.2
an addon upgrade job is created, the job will perform helm upgrad -i command
and we foud the upgrade configconstratint is nil
Screenshots
Quick fix
to patch the ConfigConstraint's fileFormatConfig api:
k patch cc milvus-config-template-2.3.2 -p '{"spec":{"fileFormatConfig":{"format":"yaml"}}}' --type merge
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.
The text was updated successfully, but these errors were encountered:
@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 ClusterDefinition
milvus-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.
The text was updated successfully, but these errors were encountered: