rancher env update script

This commit is contained in:
Eugenio Romano
2018-04-18 22:48:05 +01:00
parent 3713284ada
commit 782893838f
2 changed files with 81 additions and 0 deletions

View File

@@ -393,4 +393,24 @@ This script test the distribution of ADF against the demo shell
```sh
./test-dist
```
# rancher-update.sh
***rancher-update.sh***
Internal script for update the rancher env
| Option | Description |
| --- | --- |
|--access_key |rancher access key|
|--secret_key |rancher secret key|
|--url |rancher_url|
|--environment_name s|ervice name to replace in rancher|
|--image |image to gater and load in the service, example: docker:alfresco/demo-shell:latest|
## Examples
```sh
/rancher-update.sh --access_key ACCESS_KEY --secret_key SECRET_KEY --url RANCHER_URL--environment_name adf-master --image docker:alfresco/demo-shell:master
```