kubectlApply
A kubectlApply step will run kubectl apply with the provided file path and kubeconfig.
Required Parameters
path- the file to apply
Optional Parameters
kubeconfig- the kubeconfig file to use, overriding the system default
Examples
lifecycle:
v1:
- kubectlApply:
path: config.yml
lifecycle:
v1:
- kubectlApply:
path: k8s/another.yml
kubeconfig: k8s/generated_kubeconfig
lifecycle:
v1:
- kubectlApply:
path: k8s/another.yml
kubeconfig: '{{repl AmazonEKS "eks_cluster_name" }}'