Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested complex key values are rendered as the entire parent object when parent key == child key prefix #70

Open
ericsnv opened this issue Aug 2, 2023 · 1 comment
Assignees
Labels
on-hold Issues that we need to work on

Comments

@ericsnv
Copy link

ericsnv commented Aug 2, 2023

This gets rendered properly:

## @param annotations.vault.hashicorp.com/agent-inject Some desc
annotations:
  vault.hashicorp.com/agent-inject: "true"
Name Description Value
annotations.vault.hashicorp.com/agent-inject Some desc true

This does not:

## @param vault.annotations.vault.hashicorp.com/agent-inject Some desc
vault:
  annotations:
    vault.hashicorp.com/agent-inject: "true"
Name Description Value
vault.annotations.vault.hashicorp.com/agent-inject Some desc {"vault.hashicorp.com/agent-inject":"true"}

Notice that the top-level key is the same as the leaf key's prefix (vault).

The error is likely in this function

@ericsnv ericsnv changed the title Nested complex key values are rendered as the entire parent object when parent is same as prefix Nested complex key values are rendered as the entire parent object when parent key == child key prefix Aug 2, 2023
@fmulero
Copy link
Contributor

fmulero commented Mar 12, 2024

Sorry for my very late response

I've just created an internal task to work on this issue. I hope to come back soon.

@fmulero fmulero added the on-hold Issues that we need to work on label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on-hold Issues that we need to work on
Projects
None yet
Development

No branches or pull requests

2 participants