Skip to content

firaxis/ack-set-context

 
 

Repository files navigation

Setting context for Kubernetes cluster of Alibaba Cloud Kubernetes Service (ACK)

Use this GitHub Action to set context for Kubernetes cluster of Alibaba Cloud Kubernetes (ACK).

Set the KUBECONFIG environment variable by cluster id for K8s cluster managed by ACK.

- uses: aliyun/ack-set-context@v1
  with:
    access-key-id: '<access key id>'
    access-key-secret: '<access key secret>'
    cluster-id: '<cluster id>'

Refer to the action metadata file for details about all the inputs: action.yml

Prerequisite

Get the access-key-id and access-key-secret of Alibaba Cloud and add them as as secrets in the GitHub repository.

Build action

docker run -it --rm --name my-running-script -v "$PWD":/usr/src/app -w /usr/src/app node:12-slim npm run all

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%