Skip to content

Kubernetes config file generator

Actions
Generate Kubernetes config file for the service account
1.0
Latest
Star (1)

Generate kubeconfig file

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.

Inputs

workdir

Optional Path for kube config file. defaults to ~/.kube. Set to ${{ github.workspace }} when using config file in the subsequent Docketr actions.

kubeconfig

Required kubeconfig value.

Outputs

Generated kubeconfig will be stored in workdir/config.
workdir/config will be added to KUBECONFIG environment variable.

Example usage

uses: infraway/[email protected]
with:
  workdir: ${{ github.workspace }}
  kubeconfig: ${{ secrets.KUBECONFIG_DEV }}

Kubernetes config file generator 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

Generate Kubernetes config file for the service account
1.0
Latest

Kubernetes config file generator 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.