Skip to content

kubectl-action

Actions
Deploy to a Kubernetes cluster
1.0.0
Latest
Star (31)

Kubectl Action

I archived this repository because I think there are now more appropriate options like helm and argocd

This action allows you to deploy to a kubernetes cluster.

Alternatives:

Inputs

kubeconfig

Base64 encoded .kube/config file, to generate use:

cat .kube/config | base64

Usage

Kustomize a Deployment

- name: Kustomize
  uses: danielr1996/[email protected]
  with:
    args: kustomize deployment/overlays/replace > template.yaml

Deploy a Deployment

- uses: danielr1996/[email protected]
  name: Deploy
  with:
    kubeconfig: ${{ secrets.KUBE_CONFIG }}
    args: apply -f deployment.yaml

kubectl-action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Deploy to a Kubernetes cluster
1.0.0
Latest

kubectl-action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.