Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Latest commit

 

History

History
20 lines (16 loc) · 578 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 578 Bytes

actions-kustomize

A GitHub Action for Kustomize. Contains kubectl as well. Works well with urcomputeringpal/actions-kubeconfig.

Usage

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"]
}