How to Delete Specific Resource in kustomize

The answer

$patch: delete
apiVersion: v1
kind: Namespace
name: api-test

Strategic Merge Patch Option

  • replace
  • merge
  • delete






Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Datacenter Migration to Azure with Azure Site Recovery

AWS — Amazon EC2 Instance Purchasing Options

What’s New In Open API 3.0 a.k.a. Swagger 3.0

Building a Raspberry Pi Cluster

End-to-end encryption using EnRoute and Linkerd

Fixed-Price vs. Time & Material — which to pick for your project?

Google GKE and SQL with terraform

AWS — 1

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store



More from Medium

Step-by-Step Compute Instance Creation on Oracle Cloud Infrastructure

Automate your enterprise Kubernetes adoption with Konveyor Move2Kube v0.3

Deploy ACE on CP4I using Jenkins

Automate Kubernetes Cluster using Ansible