-
Notifications
You must be signed in to change notification settings - Fork 308
fix the es httpUser & httpPassword #1775
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Chengwei Guo <[email protected]>
marcofranssen
left a comment
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.
This seems wrong. Isn't the httpUser and httpPassword just a string?
Maybe we should also update the values.yaml file to better document that part.
Signed-off-by: Chengwei Guo <[email protected]>
Can we update, values.yaml to reflect this structure? |
| {{- end }} | ||
| {{- with .Values.fluentbit.output.es.httpUser }} | ||
| httpUser: {{ . | quote }} | ||
| httpUser: {{ toYaml . | nindent 6 }} |
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.
| httpUser: {{ toYaml . | nindent 6 }} | |
| httpUser: | |
| {{- toYaml . | nindent 6 }} |
| {{- end }} | ||
| {{- with .Values.fluentbit.output.es.httpPassword }} | ||
| httpPassword: {{ . | quote }} | ||
| httpPassword: {{ toYaml . | nindent 6 }} |
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.
| httpPassword: {{ toYaml . | nindent 6 }} | |
| httpPassword: | |
| {{- toYaml . | nindent 6 }} |
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.
Small suggestion to make it more clear this is an object value by using the same style as elsewhere in the chart.
Signed-off-by: Chengwei Guo <[email protected]>
| # index: "fluent-bit" | ||
| # httpUser: | ||
| # httpPassword: | ||
| # logstashPrefixKey: ks-logstash-log |
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.
| # logstashPrefixKey: ks-logstash-log |
Already shows as uncommented at line 305
| # logstashPrefixKey: ks-logstash-log | ||
| # suppressTypeName: "On" | ||
| # path: "" | ||
| # bufferSize: "4KB" |
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.
| # bufferSize: "4KB" |
Already shows as uncommented on line 306
| # index: "fluent-bit" | ||
| # httpUser: | ||
| # httpPassword: | ||
| # logstashPrefixKey: ks-logstash-log |
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.
Looks like indentation of the entire comment block is of.
Would be great if soeone uses the IDE shortcut for uncommenting all indentation of the entire commented block is correct.
What this PR does / why we need it:
Fix the es template introduced in #1555
Which issue(s) this PR fixes:
Fixes #1674
Does this PR introduced a user-facing change?
Additional documentation, usage docs, etc.: