Add resource to kustomization

Append a resource file to kustomization.yaml

kustomize edit add resource ./deployment.yaml

tool
kustomize23 commands
tags
kustomize

More kustomize commands

  • kustomize edit set image myapp=registry/myapp:v2.0.0

    Update image tag in kustomization.yaml

  • kustomize edit set namespace production

    Override namespace for all resources in the overlay

  • kustomize edit add label env:production

    Inject a common label into all generated resources

  • kustomize edit add patch --path patch.yaml --kind Deployment --name <name>

    Register a strategic merge patch in kustomization.yaml

  • kustomize cfg list-setters .

    List all settable fields in the kustomization

all 23 kustomize commands