Add patch
Register a strategic merge patch in kustomization.yaml
kustomize edit add patch --path patch.yaml --kind Deployment --name <name>
More kustomize commands
-
kustomize cfg list-setters .List all settable fields in the kustomization
-
kubectl apply -k ./overlays/prodBuild kustomize overlay and apply directly to cluster
-
kubectl kustomize ./overlays/prod | head -100Render kustomize output without applying
-
kustomize edit set image myapp=myapp:v1.2.3Update image tag in kustomization.yaml
-
kustomize edit add configmap my-config --from-literal=key=valueAdd a ConfigMap generator entry to kustomization.yaml