You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking to check the existance of a path (hasKey), and the fact that it does not exist (e.g hasNotKey).
For context: it is similar to the contains flag, but for maps rather than arrays.
Use case: it's pretty common to use a switch between two options based on a value, e.g choose one of two annotations per container runtime.
Note: I tried using matchRegex with the .* pattern, but the validator complains that it's an unknown path.
Appologies if there is already a way to do this, I tried my best to read through the docs and the issues, but could not find an answer to this question
The text was updated successfully, but these errors were encountered:
d3adb5
pushed a commit
to d3adb5/helm-unittest-tests
that referenced
this issue
Apr 30, 2024
I'm looking to check the existance of a path (
hasKey
), and the fact that it does not exist (e.ghasNotKey
).For context: it is similar to the
contains
flag, but for maps rather than arrays.Use case: it's pretty common to use a switch between two options based on a value, e.g choose one of two annotations per container runtime.
Note: I tried using
matchRegex
with the.*
pattern, but the validator complains that it's anunknown path
.Appologies if there is already a way to do this, I tried my best to read through the docs and the issues, but could not find an answer to this question
The text was updated successfully, but these errors were encountered: