How to Delete Specific Resource in kustomize
When we operate kustomize, sometimes we want to delete some resource.
Let’s say, we want to apply production but don’t want to apply staging, developing.
I’d like to introduce useful way.
we can use patch delete.
Here’s how to use it.
When we execute
kustomize build , above resource will be deleted.
Strategic Merge Patch Option
we can use three options like below.
This document is old and probably obsolete. Server-side Apply is the new solution and is the recommended way to go. It…
kustomizeであるリソースを消す方法 | GRIPHONE ENGINEER'S BLOG
Posted by この記事は GRIPHONE Advent Calendar 2020 25日目の記事です。 SREの徳田です。…