Hello @Tanul ,
Thanks for your query !
I just tried out below syntax and it works , can you also try out from your end.
Kindly adjust the values accordingly.
{
"matchLabels":{"app":"nginx"},
"matchExpressions":
[
{"key": "test", "operator": "NotIn", "values": ["1"]}
]
}
Explanation:-
Based upon the Schema:
matchLabels is of type Json Object
Match Expression is an Array of values
Let us know if the above helps out !
Make sure to "Upvote & Accept the answer"