-
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
Conversation
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.
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.
charts/fluent-operator/values.yaml
Outdated
| # 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
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.
they are two different parameters.
Signed-off-by: Chengwei Guo <cwguoz@gmail.com>
Signed-off-by: Chengwei Guo <cwguoz@gmail.com>
Signed-off-by: Chengwei Guo <cwguoz@gmail.com>
Signed-off-by: Chengwei Guo <cwguoz@gmail.com>
3ad5a00 to
a4b6323
Compare
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.
LGTM 🚀
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.: