Delete a key yq

Remove a specific annotation from YAML

yq -i 'del(.metadata.annotations."kubectl.kubernetes.io/last-applied-configuration")' resource.yaml
#yq