Action generating Kubernetes config file for specific service account. Config file can be used to deploy into the cluster.
Use-case: deployment to a namespace using Service Account with RBAC.
Optional Path for kube config file. defaults to ~/.kube
. Set to ${{ github.workspace }}
when using config file in the subsequent Docketr actions.
Required kubeconfig value.
Generated kubeconfig will be stored in workdir/config
.
workdir/config
will be added to KUBECONFIG
environment variable.
uses: infraway/[email protected]
with:
workdir: ${{ github.workspace }}
kubeconfig: ${{ secrets.KUBECONFIG_DEV }}