GitHub Action
kubectl-action
1.0.0
Latest version
This action allows you to deploy to a kubernetes cluster.
Alternatives:
Base64 encoded .kube/config
file, to generate use:
cat .kube/config | base64
- name: Kustomize
uses: danielr1996/[email protected]
with:
args: kustomize deployment/overlays/replace > template.yaml
- uses: danielr1996/[email protected]
name: Deploy
with:
kubeconfig: ${{ secrets.KUBE_CONFIG }}
args: apply -f deployment.yaml