Set image tag
Update image tag in kustomization.yaml
kustomize edit set image myapp=myapp:v1.2.3
- tool
- kustomize23 commands
More kustomize commands
-
kustomize edit add configmap my-config --from-literal=key=valueAdd a ConfigMap generator entry to kustomization.yaml
-
kustomize build ./overlays/prod | grep "^kind:"Quickly list all resource kinds in a kustomize build
-
# Add patchesStrategicMerge in kustomization.yamlUse patchesStrategicMerge to partially override base resources
-
cat > patch.yaml <<EOF apiVersion: apps/v1 kind: Deployment metadata: name: myapp spec: replicas: 3 template: spec: containers: - name: myapp resources: limits: memory: 512Mi EOF echo 'patches:\n- path: patch.yaml' >> kustomization.yamlCreate a strategic merge patch and register it in kustomization.yaml
-
kustomize build --enable-helm ./overlayRender helmCharts: block to manifests; note: needs helm in PATH