Skip to content

Conversation

@mfleader
Copy link
Collaborator

@mfleader mfleader commented Jul 14, 2025

Extends the field mutator Kustomize plugin to handle array indices in field paths (e.g., spec.ports[0].port, spec.containers[0].ports[0].containerPort). This enables dynamic configuration of array-based fields in Kubernetes resources during the migration from programmatic resource creation to declarative YAML manifests, maintaining existing port override capabilities across Services, Deployments, and NetworkPolicies.

@mfleader mfleader self-assigned this Jul 14, 2025
@mfleader mfleader added enhancement New feature or request exciting stuff! Just for Matt labels Jul 14, 2025
@mfleader mfleader marked this pull request as ready for review July 14, 2025 21:14
@mfleader mfleader force-pushed the bug-mutator-indexing branch from b154d3c to afa825e Compare July 14, 2025 21:41
Signed-off-by: Matthew F Leader <mleader@redhat.com>
@mfleader mfleader force-pushed the bug-mutator-indexing branch from 5a8511b to d76c445 Compare July 15, 2025 13:24
Copy link
Collaborator

@VaishnaviHire VaishnaviHire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @mfleader

/lgtm

@mergify mergify bot merged commit d88d3f3 into llamastack:main Jul 15, 2025
6 checks passed
VaishnaviHire pushed a commit to VaishnaviHire/llama-stack-k8s-operator that referenced this pull request Jul 16, 2025
)

Extends the field mutator Kustomize plugin to handle array indices in field paths (e.g., `spec.ports[0].port`, `spec.containers[0].ports[0].containerPort`). This enables dynamic configuration of array-based fields in Kubernetes resources during the migration from programmatic resource creation to declarative YAML manifests, maintaining existing port override capabilities across Services, Deployments, and NetworkPolicies.

Approved-by: VaishnaviHire
(cherry picked from commit d88d3f3)
VaishnaviHire pushed a commit to VaishnaviHire/llama-stack-k8s-operator that referenced this pull request Jul 16, 2025
)

Extends the field mutator Kustomize plugin to handle array indices in field paths (e.g., `spec.ports[0].port`, `spec.containers[0].ports[0].containerPort`). This enables dynamic configuration of array-based fields in Kubernetes resources during the migration from programmatic resource creation to declarative YAML manifests, maintaining existing port override capabilities across Services, Deployments, and NetworkPolicies.

Approved-by: VaishnaviHire
(cherry picked from commit d88d3f3)
@mfleader mfleader deleted the bug-mutator-indexing branch July 23, 2025 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request exciting stuff! Just for Matt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants