A GitHub Action for Kustomize. Contains kubectl
as well. Works well with urcomputeringpal/actions-kubeconfig
.
action "kustomize build" {
needs = "kube config"
uses = "urcomputeringpal/actions-kustomize@master"
args = "build | tee $HOME/yaml"
}
action "kubectl apply" {
needs = "kustomize build"
uses = "urcomputeringpal/actions-kustomize@master"
runs = "/bin/bash -c"
args = ["kubectl apply -f $HOME/yaml"]
}