What a surprise. You can't append new item to existing list or create a new list with kubernetes json patch. stackoverflow.com/questions/47...
jsonpatch adding element to array and creating it if not exist
I'm trying to append an element to an array. But i cannot ensure that the array alread exists. So it should be created if not. This example works: Source json: { "data": [] } Patch doc: [{ ...
stackoverflow.com