Closed edmeister closed 1 year ago
Hello @edmeister,
In some cases you need to escape special characters. The following example shows how you can validate labels. https://github.com/quintush/helm-unittest/blob/c21120fe63a648cb727dfcd85aa6fa320eeaf951/test/data/v3/with-subchart/tests/ingress_test.yaml#L31
Greetings, @quintush
Thanks for your reply @quintush. I wasn't aware the equal
assertion would also work with non-scalar values.
Hi,
I was looking for a way to assert labels or annotations with the prefixed format as is currently recommended in Kubernetes. I tried multiple formats, but the YAML parser seems to be unable to handle this format in a path.
What would you recommend here?
Example: