Skip to content

An action to help build Kubernetes cluster resources to GKE service.

Notifications You must be signed in to change notification settings

mondaydarknight/k8s-setup

Repository files navigation

k8s-setup

workflow status An action to help build Kubernetes cluster resources to GKE service.

Usage

jobs:
  job_id:
    steps:
      - uses: actions/checkout@v3
      - uses: UPN-TW/[email protected]
        with:
          cluster: ${{ secrets.K8S_CLUSTER }}
          context: ${{ secrets.K8S_CONTEXT }}
          server: ${{ secrets.K8S_SERVER }}
          token: ${{ secrets.K8S_TOKEN }}
          user: ${{ secrets.K8S_USER }}

Inputs

  • cluster: The cluster name for context entry in kubeconfig.
  • context: The name of the kubeconfig context to use.
  • server: The server URL for context entry in kubeconfig.
  • template_path: (Optional) The directory that contains configuration files to apply.
  • token: Bearer token for authentication to the API server.
  • user: The username for context entry in kubeconfig.
  • validate: (Optional) Determine whether the cluster validate the input schema.
    Default: false

About

An action to help build Kubernetes cluster resources to GKE service.

Resources

Stars

Watchers

Forks

Packages

No packages published