I've used a negative lookahead regex for that like so:

"labels": {
"$resolver": "mdc",
"pattern": "(?!(?i:x-spinnaker-accounts)).+"
},


On Mon, Oct 11, 2021 at 7:26 PM Ralph Goers <[email protected]> wrote:
>
> Volkan,
>
> I am currently including the ThreadContextMap in my JSON. I need to exclude 
> some of the key/value pairs. How can I do that?
>
> Ralph

Reply via email to