Skip to content

sendinblue/gke-login-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

GKE Login Action

This action performs login to GCP and configuration of kubectl for the given GKE cluster. It uses gcloud (Google SDK) command which is already pre-installed on the ubuntu-latest GitHub Runners.

Inputs

gcp-service-account-key

Required GCP service account key.

gke-cluster

Required Cluster ID in GKE.

gke-zone

Zone to use in GKE. Default: europe-west3-b.

gcp-project-id

GCP project ID. Default: extracted from gcp-service-account-key.

Outputs

None.

Example Usage

- name: Configure GKE
  uses: 'sendinblue/gke-login-action@v1'
  with:
    gcp-service-account-key: ${{ env.GCP_SERVICE_ACCOUNT_KEY }}
    gke-cluster: ${{ env.GKE_CLUSTER }}
    gke-zone: ${{ env.GKE_ZONE }}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors