Adarshvk98 opened a new issue, #2216:
URL: https://github.com/apache/incubator-kie-issues/issues/2216
`k8s-yaml-to-apiserver-requests` has two issues that limit its flexibility:
### 1. Tokens can't reference other tokens
Right now, tokens like `${{ tokenName }}` only do simple string replacement.
You can't nest tokens inside other tokens or query complex data structures.
For eg, this doesn't work:
`host: ${{ $.resources.Route[${{ $.uniqueName }}].status.ingress[0].host }}`
This makes it hard to build dynamic configurations where one token value
depends on another, or when you need to look up data from arrays or nested
objects in the token map.
### 2. Using a custom JSON Patch operation
it uses a custom `CheckTypeOperation` that's not part of the **JSON Patch
standard (RFC 6902)**. This makes the code less compatible with standard tools
and harder to maintain.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]