-
Notifications
You must be signed in to change notification settings - Fork 568
for deamonset copy only spec.config not entore deepcopy #4482
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: main
Are you sure you want to change the base?
for deamonset copy only spec.config not entore deepcopy #4482
Conversation
frzifus
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.
ty @Nitesh-vaidyanath - I think you need to follow the easyCLA process to get this merged.
|
You may also want to add a changelog entry for this fix. You can generate a template using |
d55a694 to
da8725d
Compare
| note: "OpAMP Bridge: collector.DeepCopy() causes full spec updates → DaemonSet mode fails (should patch spec.config only)" | ||
|
|
||
| # One or more tracking issues related to the change | ||
| issues: [https://github.com/open-telemetry/opentelemetry-operator/pull/4482] |
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.
you can just provide an issue number here
| if instance.Spec.Mode == v1beta1.ModeDaemonSet { | ||
| return c.updateConfigOnly(ctx, instance, updatedCollector) | ||
| } |
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.
can we add to an existing e2e test to verify this change?
Description:
Link to tracking Issue(s):
Testing:
Documentation: