-
Notifications
You must be signed in to change notification settings - Fork 67
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
[bugfix] fix some bugs #172
Conversation
yandongxiao
commented
Jul 12, 2023
- reuse api.md and its script, because it is linked in StarRocks Doc
- delete namespace.yaml, otherwise helm install will failed.
- use resources not resource in values.yaml
1. reuse api.md and its script, because it is linked in StarRocks Doc 2. delete namespace.yaml, otherwise helm install will failed. 3. use resources not resource in values.yaml Signed-off-by: yandongxiao <[email protected]>
Signed-off-by: yandongxiao <[email protected]>
Signed-off-by: yandongxiao <[email protected]>
@@ -274,7 +274,7 @@ starrocksCnSpec: | |||
# scaleDown: | |||
# selectPolicy: Disabled | |||
# define resources requests and limits for cn pods. | |||
resource: | |||
resources: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could cause compatible issue when the user upgrade from previous chart version to this, without updating its values.yaml?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, This is a problem. But this misspell should be fixed.
So, we both support resources and resource?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, please. recommends the right spelling, but can still work if mis-spelled for now, possibly generating a warning message? can possibly remove the support after 2-3 releases in future.
Signed-off-by: yandongxiao <[email protected]>
{{- end }} | ||
{{- if .Values.starrocksFESpec.resources }} | ||
{{- toYaml .Values.starrocksFESpec.resources | nindent 4 }} | ||
{{- else if .Values.starrocksFESpec.resource }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does helm chart template support comments? shall add comments here to explain why if-else if here.
Signed-off-by: yandongxiao <[email protected]>