Skip one of the resources, adding `$path: delete` kustomize will skip it.
apiVersion: v1 kind: Service metadata: name: some-public-service $patch: delete
Source: https://github.com/kubernetes-sigs/kustomize/issues/106
Last updated 2 years ago