-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -176,7 +176,7 @@ | |
|
||
END OF TERMS AND CONDITIONS | ||
|
||
Copyright 2015-2015 Li Yi ([email protected]). | ||
Copyright 2020 Alibaba Cloud | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
# Setting context for Alibaba Cloud Container Service for Kubernetes (ACK) | ||
Use this GitHub Action to [set context for Alibaba Cloud Container Service for Kubernetes (ACK)](https://www.aliyun.com/product/kubernetes). It will retrieve the ```kubeconfig``` file by cluster id for K8s cluster of ACK. | ||
# 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)](https://www.aliyun.com/product/kubernetes). | ||
|
||
|
||
Set the ```KUBECONFIG``` environment variable by cluster id for K8s cluster managed by ACK. | ||
|
||
|
||
```yaml | ||
- uses: denverdino/ack-set-context@v1 | ||
- 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](https://github.com/denverdino/ack-set-context/blob/master/action.yml) | ||
Refer to the action metadata file for details about all the inputs: [action.yml](https://github.com/aliyun/ack-set-context/blob/master/action.yml) | ||
### Prerequisite | ||
Get the access-key-id and access-key-secret of Alibaba Cloud and add them as as [secrets](https://developer.github.com/actions/managing-workflows/storing-secrets/) in the GitHub repository. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/denverdino/ack-set-context.git" | ||
"url": "git+https://github.com/aliyun/ack-set-context.git" | ||
}, | ||
"keywords": [ | ||
"actions", | ||
|
@@ -23,9 +23,9 @@ | |
"author": "[email protected]", | ||
"license": "Apache", | ||
"bugs": { | ||
"url": "https://github.com/denverdino/ack-set-context/issues" | ||
"url": "https://github.com/aliyun/ack-set-context/issues" | ||
}, | ||
"homepage": "https://github.com/denverdino/ack-set-context#readme", | ||
"homepage": "https://github.com/aliyun/ack-set-context#readme", | ||
"dependencies": { | ||
"@actions/core": "^1.2.6", | ||
"@alicloud/pop-core": "^1.7.10" | ||
|