-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[helm]support config override in starrocksFESpec/starrocksBeSpec/starrocksCnSpec #580
Conversation
ec7f121
to
0df9849
Compare
I think there is a backward compatibility issue here. That is, if the user has set a custom config by |
Looking at your code, you directly modified In |
Can we merge the contents of |
I can set configyaml to |
if both config and configyaml has the same key, which value shall be overriden? |
This is LGTM. The method I mentioned seems quite difficult to implement, and splitting the configuration into two blocks doesn't seem like a good choice. |
Agree with you |
Signed-off-by: Deng Liu <[email protected]>
Signed-off-by: Deng Liu <[email protected]>
Signed-off-by: Deng Liu <[email protected]>
Signed-off-by: Deng Liu <[email protected]>
Signed-off-by: Deng Liu <[email protected]>
Description
#494
Test
1) Test config spec setting
with values1.yaml, run
Got
2) Test config hash
with template below, a minor change in the configyaml values generate totally different hash value
3) Test with quote in values
4) Test with configyaml not setting
Verified that it uses the string value in config field
5) Verified default value setting from configyaml
Related Issue(s)
N/A
Checklist
For operator, please complete the following checklist:
make generate
to generate the code.golangci-lint run
to check the code style.make test
to run UT.make manifests
to update the yaml files of CRD.For helm chart, please complete the following checklist:
file of starrocks chart.
scripts
directory, runbash create-parent-chart-values.sh
to update the values.yaml file of the parentchart( kube-starrocks chart).