Skip to content

geogeo-droid/tke-cluster-credential-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tke-cluster-credential-action

Retrieve TKE cluster credential and set it to $HOME/.kube/config.

Inputs

secret_id

Required Tencent Cloud secret id. Should be referred to a encrypted environment variable.

secret_key

Required Tencent Cloud secret key. Should be referred to a encrypted environment variable.

tke_region

Required TKE bucket region.

cluster_id

Required TKE cluster id.

is_extranet

Required TKE extranet flag. boolean

Example usage

uses: TencentCloud/tke-cluster-credential-action@v1
with:
  secret_id: ${{ secrets.TENCENT_CLOUD_SECRET_ID }}
  secret_key: ${{ secrets.TENCENT_CLOUD_SECRET_KEY }}
  tke_region: ${{ secrets.TKE_REGION }}
  cluster_id: ${{ secrets.TKE_CLUSTER_ID }}
  is_extranet: ${{ secrets.IsExtranet }}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published