-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[promtail helm chart] - Expand promtail syslog svc to support values #1731
Conversation
The promtail helm chart syslog service configuration in the values.yaml supports elements not accounted-for in the actual syslog service template. This change modifys the promtail syslog service to account for those missing elements. Signed-off-by: Jeff Billimek <jeff@billimek.com>
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.
Let's remove the if..else if...else
on service type and just allow any field to be configurable for any service type. I know that this will technically allow a user to create a misconfigured service that k8s rejects, but I'd prefer that to silently ignoring some fields based on the service type. It would also clean up the yaml some.
Also, the values.yaml currently has documentation for the different syslogService
fields. Please add additional docs for the added fields.
Hi @joe-elliott, to clarify: you want to remove the conditionals around the service type part of the syslog-service to allow the user to input whatever they want (i.e. asking for a
Where would you like additional docs added for all? of the fields for the syslog service? I see a |
Yup. I understand that configuring a Regarding documentation: In a past PR you nicely included some commented out fields with additional information here: loki/production/helm/promtail/values.yaml Line 147 in cdd60cd
Now that I'm looking closer I can see that it already has comments about the fields you're adding in this PR ( |
Signed-off-by: Jeff Billimek <jeffrey_k_billimek@homedepot.com>
Codecov Report
@@ Coverage Diff @@
## master #1731 +/- ##
==========================================
+ Coverage 64.16% 64.23% +0.07%
==========================================
Files 121 121
Lines 9024 9024
==========================================
+ Hits 5790 5797 +7
+ Misses 2829 2825 -4
+ Partials 405 402 -3
|
@joe-elliott the changes should be implemented. Can you please take a look again? |
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.
Thanks for the changes. LGTM
…rafana#1731) * Expand promtail syslog svc to support values The promtail helm chart syslog service configuration in the values.yaml supports elements not accounted-for in the actual syslog service template. This change modifys the promtail syslog service to account for those missing elements. Signed-off-by: Jeff Billimek <jeff@billimek.com> * Simplifying service typer selection process Signed-off-by: Jeff Billimek <jeffrey_k_billimek@homedepot.com>
What this PR does / why we need it:
The promtail helm chart syslog service configuration in the values.yaml
supports elements not accounted-for in the actual syslog service
template.
This change modifies the promtail syslog service to account for those
missing elements.
Special notes for your reviewer:
This fixes items missed in #1617
Checklist