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

Allow comparison of multiple values #219

Open
fliphess opened this issue Oct 31, 2020 · 0 comments
Open

Allow comparison of multiple values #219

fliphess opened this issue Oct 31, 2020 · 0 comments

Comments

@fliphess
Copy link

Hi!

This is a feature request:

I'd love to be able to make a comparison between multiple keys in a kubernetes file.
For example: ensure that multiple values are equal or use jmespath in both key and values:

  assertions:
  - key: spec.values[].image.tag
    op: eq
    value_from: 
      key: spec.values.mainVersion

or

  assertions:
  - key: spec.values.somevalue
    op: eq
    value_from: 
      key: spec.values.some_other_value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant