-
Notifications
You must be signed in to change notification settings - Fork 451
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
Updating spec mutation logic of daemonset, statefulset, and deployment with mergeWithOverwriteWithEmptyValue #3324
Merged
swiatekm
merged 29 commits into
open-telemetry:main
from
davidhaja:2947-updating-ds-sf-depl-mutation
Oct 31, 2024
Merged
Changes from 25 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
fcca8ac
e2e tests for additionalContainers added
davidhaja 5e26452
additionalContainers related unit tests added for mutation
davidhaja f0645f0
Changed apiversion to v1beta1 in nodeselector e2e test
davidhaja 69e79d0
removed explicit zero value for additionalContainers and changed appl…
davidhaja 89cda21
added affinity in collector e2e tests
davidhaja 5a713c3
affinity unit tests added for daemonset, deployment, statefulset duri…
davidhaja e676581
collector container mutate args e2e tests added
davidhaja 9911706
Unit tests added for additional args mutation of collector container
davidhaja 6e72bf5
e2e tests for changing labels in collectors
davidhaja 4ae3398
e2e tests for changing annotations in collectors
davidhaja 74fbdc1
fix annotation change e2e test asserts
davidhaja 15f2113
Error and label change related unit tests added for resource mutation
davidhaja 88ef17b
fix label change e2e tests for mutation
davidhaja fc1e3ad
mutating the spec and labels of deployment, daemonset, statefulset wi…
davidhaja eedc548
Merge branch 'main' of https://github.com/open-telemetry/opentelemetr…
davidhaja 9060661
Adjust reconcile tests to new mutation logic
davidhaja 8f5fd10
Added chlog entry for new mutation logic
davidhaja 62dc693
fix typo in mutate_test.go
davidhaja 764f054
Fix G601: Implicit memory aliasing in mutate_test.go
davidhaja 142eb5c
Revert "Adjust reconcile tests to new mutation logic"
davidhaja ea69d06
label and annotation changes with mergeWithOverride; adjust tests
davidhaja f4ab9aa
copy over desired.spec.template.spec to existing.spec.template.spec
davidhaja c04bfd9
Merge branch 'main' of https://github.com/open-telemetry/opentelemetr…
davidhaja 1d1ebb1
volumeClaimTemplates mutation through range
davidhaja 2ae1acf
Merge branch 'main' of https://github.com/open-telemetry/opentelemetr…
davidhaja e16acf1
Merge branch 'main' of https://github.com/open-telemetry/opentelemetr…
davidhaja 0d42bec
Change type to bugfix
davidhaja 49ab4da
Fix volume-claim-label e2e test
davidhaja f7b265e
Merge branch 'main' into 2947-updating-ds-sf-depl-mutation
iblancasa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: enhancement | ||
|
||
# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action) | ||
component: collector | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: "Improve mutation of deployments, statefulsets, and daemonsets allowing to remove fields on update" | ||
|
||
# One or more tracking issues related to the change | ||
issues: [2947] | ||
|
||
# (Optional) One or more lines of additional information to render under the primary note. | ||
# These lines will be padded with 2 spaces and then inserted directly into the document. | ||
# Use pipe (|) for multiline entries. | ||
subtext: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 wonder if this shouldn't be a
bug_fix
. The current behaviour looks like a bug to me.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.
Changed it.