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

yaml path not working for nested keys with list and replacment now working as well #4152

Open
Sandy1990-byte opened this issue May 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Sandy1990-byte
Copy link

Sandy1990-byte commented May 16, 2024

Explanation:
I am using kpt "ApplyReplacements" function and trying to replace string data under "data " section in below yaml.
I have made the string section bold which is inside data section. This is not happening. any way i cannot write path that can replace this section with string i want.
value

Expected behavior

I should be able to write proper yaml path in replacements and replace the string inside it.

Actual behavior

not working.

Information

Steps to reproduce the behavior

create a template file template.yaml and a values.yaml file. both having simillar structure of yaml data.
now create a replacements file of kpt and try to replace the string inside data section of template.yaml with that in values.yaml data section. user cannot write a path to the string and do that.

create

@Sandy1990-byte Sandy1990-byte added the bug Something isn't working label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant