AdfCli - Add the kubectl-image to the adf-cli (#4932)

* Add the kubectl-image to the adf-cli

* fix ts lint

* remove the " from the image name
This commit is contained in:
Maurizio Vitale
2019-07-15 11:16:35 +01:00
committed by Eugenio Romano
parent 6b84ecf47c
commit 34aafa918c
4 changed files with 99 additions and 75 deletions

View File

@@ -44,3 +44,11 @@ If you want to specify a different docker registry you can run
```bash
--loginCheck --loginUsername "username" --loginPassword "password" --loginRepo "quay.io"--dockerRepo "${docker_repository}" --dockerTags "${TAGS}" --pathProject "$(pwd)"
```
### Kubectl update pod image
This command allows you to update a specific service on the rancher env with a specifig tag
```bash
adf-cli kubectl-image --clusterEnv ${clusterEnv} --clusterUrl ${clusterUrl} --username ${username} --token ${token} --deployName ${deployName} --dockerRepo ${dockerRepo} --tag ${tag}
```