Google search + StackExchange nailed it. This was the answer topping the results page for a query on "kubectl patch secret field from file" Fun fact: someone in the answers section made the same mistake as ChatGPT, misusing the single and double quotes.