Closed zakame closed 2 months ago
Thanks for raising this issue! Great catch! I am willing to bet that this was a copy/pasta error on my side π I've just pushed a fix that should correct the issue. Please let me know if that fixes the issue for you.
Wow, thanks for the prompt response! Yep we can confirm it works now π Thanks again!
Details
What steps did you take and what happened:
Hi, first of all, thanks for this great template! π
Now, given a serviceMonitor definition like:
We're getting this from
helm template...
:What did you expect to happen:
This previously worked without issue in app-template-2.6.0.
Anything else you would like to add:
matchExpressions
andmatchLabels
validations forServiceMonitor.spec.selector
are flipped -matchLabels
should take an object, whilematchExpressions
should take an array:https://github.com/bjw-s/helm-charts/blob/0a42b82a82f61119e123acee5ac38b151a5cbd1a/charts/library/common/schemas/serviceMonitor.json#L28-L48
Additional Information: