kube-kapply command
Run kustomize apply to an app from anywhere
Overview
Section titled “Overview”With this script, you can apply kustomize to an app that is located below the directory $KUBE_APP_HOME
You can then run it from anywhere (any working directories)
Usage:
kube-kapply <app name>Note:
- The
$KUBE_APP_HOMEenvironment variable should be set to a directory that has kustomize applications as subdirectories - The script will run
kubectl apply -k $KUBE_APP_HOME/<app name>