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

Add 'patch' feature simliar to Kubertes' Kustomize #13

Open
birchb1024 opened this issue Mar 2, 2021 · 0 comments
Open

Add 'patch' feature simliar to Kubertes' Kustomize #13

birchb1024 opened this issue Mar 2, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@birchb1024
Copy link
Owner

Kustomize has sed-like features which allow matching on a subtree (patch) or on maps with multiple keys, unlike Goyamp which currently matches on a single key. This enhancement would add rewrite logic in a similar way. Perhaps something like this:

define:
    $some-input:
         foo:
            alpha: 23
            bar:
               quux:
---
patch:
    - $some-input
    - foo:
         bar: 42

Outputs

foo:
  alpha: 23
  bar: 42
@birchb1024 birchb1024 added the enhancement New feature or request label Mar 2, 2021
@birchb1024 birchb1024 self-assigned this Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant