-
Notifications
You must be signed in to change notification settings - Fork 463
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating spec mutation logic of daemonset, statefulset, and deploymen…
…t with mergeWithOverwriteWithEmptyValue (#3324) * e2e tests for additionalContainers added * additionalContainers related unit tests added for mutation * Changed apiversion to v1beta1 in nodeselector e2e test * removed explicit zero value for additionalContainers and changed apply to update in chainsaw test * added affinity in collector e2e tests * affinity unit tests added for daemonset, deployment, statefulset during mutation * collector container mutate args e2e tests added * Unit tests added for additional args mutation of collector container * e2e tests for changing labels in collectors * e2e tests for changing annotations in collectors * fix annotation change e2e test asserts * Error and label change related unit tests added for resource mutation * fix label change e2e tests for mutation * mutating the spec and labels of deployment, daemonset, statefulset with mergeWithOverwriteWithEmptyValue * Adjust reconcile tests to new mutation logic * Added chlog entry for new mutation logic * fix typo in mutate_test.go * Fix G601: Implicit memory aliasing in mutate_test.go * Revert "Adjust reconcile tests to new mutation logic" This reverts commit 9060661. * label and annotation changes with mergeWithOverride; adjust tests * copy over desired.spec.template.spec to existing.spec.template.spec * volumeClaimTemplates mutation through range * Change type to bugfix * Fix volume-claim-label e2e test --------- Co-authored-by: Israel Blancas <[email protected]>
- Loading branch information
Showing
78 changed files
with
4,981 additions
and
90 deletions.
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: bug_fix | ||
|
||
# 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: "Fix 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.