Skip to content

Commit

Permalink
Move to aliyun repo
Browse files Browse the repository at this point in the history
Signed-off-by: Li Yi <[email protected]>
  • Loading branch information
denverdino committed Nov 14, 2020
1 parent a1e9aaf commit 4c6da68
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
11 changes: 7 additions & 4 deletions README.md
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.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Setting context for Alibaba Cloud Container Service for Kubernetes (ACK)'
name: 'Setting context for Kubernetes cluster of Alibaba Cloud Kubernetes Service (ACK)'
description: 'Log in to a container registry'
inputs:
access-key-id:
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
Expand Down

0 comments on commit 4c6da68

Please sign in to comment.