Skip to content

Conversation

@andyyu2004
Copy link
Owner

No description provided.

@andyyu2004 andyyu2004 force-pushed the bug-patch-port-duplicate branch 3 times, most recently from b048b2d to 82339b9 Compare January 31, 2026 08:24
@andyyu2004 andyyu2004 enabled auto-merge (squash) January 31, 2026 08:25
@andyyu2004 andyyu2004 disabled auto-merge January 31, 2026 08:26
test: port 6 additional transformation tests from kustomize

Added tests:
- volume-remove-emptydir-overlay: Tests emptyDir removal with overlay patches and configMapGenerator
- remove-emptydir-same-level: Tests removing emptyDir with multiple patches at same level
- null-values-1: Tests that null values in args field are preserved
- null-values-2: Tests that null volumes field is preserved
- name-prefix-suffix-patch: Tests patches correctly update ConfigMap references with hash suffixes (issue #2609)
- patch-different-ports: Tests ports with different merge keys are merged correctly

test: add failing test for patch port duplicate bug

When patching a Service port where the patch doesn't specify protocol,
the port is duplicated instead of merged - one with protocol, one without.
@andyyu2004 andyyu2004 force-pushed the bug-patch-port-duplicate branch from 82339b9 to 5abb4b9 Compare January 31, 2026 08:29
@andyyu2004 andyyu2004 enabled auto-merge (squash) January 31, 2026 08:30
@andyyu2004 andyyu2004 merged commit eb9ce22 into master Jan 31, 2026
1 check passed
@andyyu2004 andyyu2004 deleted the bug-patch-port-duplicate branch January 31, 2026 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants