Currently, Kruize deployed by the operator runs with a default local=true flag. We need to provide users the ability to customize this behavior by passing two new flags, isROSEnabled, local, from the Custom Resource (CR). Also, add metadataProfile and metricProfile file paths via the custom resource (CR) and mount it to kruizeconfigjson dynamically through Go structs.
These changes are required for bulk-demos to run successfully, which is broken now.
Function for reference used in bulk-demos to configure these values, which has to be now supported via Kruize operator
https://github.com/kruize/kruize-demos/blob/main/common/common_helper.sh#L653
Currently, Kruize deployed by the operator runs with a default
local=trueflag. We need to provide users the ability to customize this behavior by passing two new flags,isROSEnabled, local, from the Custom Resource (CR). Also, addmetadataProfileandmetricProfilefile paths via the custom resource (CR) and mount it to kruizeconfigjson dynamically through Go structs.These changes are required for bulk-demos to run successfully, which is broken now.
Function for reference used in bulk-demos to configure these values, which has to be now supported via Kruize operator
https://github.com/kruize/kruize-demos/blob/main/common/common_helper.sh#L653