Skip to content

Conversation

@mfleader
Copy link
Collaborator

Replaces custom dot notation parser with RFC 6901 JSON Pointer syntax to handle Kubernetes label keys containing dots (e.g., app.kubernetes.io/instance).

Migration enables proper Service selector transformations where previous dot notation failed on keys like spec.selector["app.kubernetes.io/instance"], unblocking dynamic Service-to-Deployment label matching.

@mfleader mfleader self-assigned this Jul 18, 2025
@mfleader mfleader added enhancement New feature or request exciting stuff! Just for Matt labels Jul 18, 2025
@mfleader mfleader marked this pull request as ready for review July 18, 2025 12:38
@leseb leseb requested a review from rhdedgar July 18, 2025 12:58
Copy link
Collaborator

@leseb leseb left a comment

Choose a reason for hiding this comment

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

nice to get rid of the manual parsing, thanks!

…SON Pointer syntax

Signed-off-by: Matthew F Leader <mleader@redhat.com>
@mfleader mfleader force-pushed the field-mutator-jsonpointer branch from 0f301a2 to bba1dfd Compare July 18, 2025 18:47
Copy link
Collaborator

@rhdedgar rhdedgar left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@mergify mergify bot merged commit e42489a into llamastack:main Jul 18, 2025
6 checks passed
VaishnaviHire pushed a commit to VaishnaviHire/llama-stack-k8s-operator that referenced this pull request Jul 18, 2025
…lamastack#118)

Replaces custom dot notation parser with [RFC 6901 JSON Pointer](https://datatracker.ietf.org/doc/html/rfc6901) syntax to handle Kubernetes label keys containing dots (e.g., `app.kubernetes.io/instance`).

Migration enables proper Service selector transformations where previous dot notation failed on keys like `spec.selector["app.kubernetes.io/instance"]`, unblocking dynamic Service-to-Deployment label matching.

Approved-by: leseb

Approved-by: rhdedgar
(cherry picked from commit e42489a)
@mfleader mfleader deleted the field-mutator-jsonpointer 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.

3 participants