-
Notifications
You must be signed in to change notification settings - Fork 183
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
feat: fix serviceMonitor for additional daemonsets #3166
Conversation
deploy/helm/sumologic/values.yaml
Outdated
@@ -649,7 +649,7 @@ sumologic: | |||
- port: metrics | |||
selector: | |||
matchLabels: | |||
sumologic.com/app: otelcol-logs-collector | |||
sumologic.com/app-name: otelcol-logs-collector |
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.
Where does this label come from?
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.
Line 43 in 7c1008b
app.kubernetes.io/app-name: {{ (include "sumologic.labels.app.logs.collector.pod" $ctx) | trunc 63 | trimSuffix "-" }} |
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.
But these selectors are for the Service, not the Daemonset.
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.
oh, I was trying figure out why e2e are failing 🤦
9a42a55
to
90745dd
Compare
Signed-off-by: Dominik Rosiek <[email protected]>
Signed-off-by: Dominik Rosiek <[email protected]>
90745dd
to
093ba0e
Compare
@@ -1,136 +1,4 @@ | |||
--- | |||
# Source: sumologic/templates/events/common/service.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.
Why are these resources removed from this file? Were they unused, and regenerating the file caused them to disappear?
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.
I think something is wrong and only one object is put into the generated file
Signed-off-by: Dominik Rosiek <[email protected]>
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 🛠️
Checklist
Match correct label: