Exclude Resource in kustomization.yaml

You can omit the specific resource by using a delete directive of Strategic Merge Patch like this. Folder structure $ tree . . ├── base │   ├── kustomization.yaml │   └── namespace.yaml └── overlays ├── dev │   └── kustomization.yaml └── prod ├── delete-ns-b.yaml └── kustomization.yaml File content $ cat base/kustomization.yaml resources: – namespace.yaml $ cat base/namespace.yaml … Read more

What is the difference between patches vs patchesJson6902 in Kustomize

The explanation for this is here. To summarize, patchJson6902 is an older keyword which can only match one resource via target (no wildcards), and accepts only Group-version-kind (GVK), namespace, and name. The patches directive is newer and accepts more elements (annotation selector and label selector as well). In addition, namespace and name can be regexes. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)