9 Commits

Author SHA1 Message Date
Carlos Milán Figueredo
93c86fc33e Default namespace, fixed AKS DNS and Ingress
Several fixes in this commit:
  * Added 'namespace' argument, default to 'eshop'.
  * Every Helm command (`helm install` and `helm ls` used with `helm delete`) will honor the namespace parameter. This way this script is no longer destructive with the Kubernetes cluster. Usage() has been updated accordingly.
  * Custom registry image push didn't honor `--docker-username` and `--docker-password`. A `docker login` has been added to fix the situation.
  * AKS DNS discovery was not working properly due to case sensitivity with the JMESPath to the HTTPApplicationRouteZoneName. A small two-entries array with iterative loop has been added ton ensure either way the AKS http routing DNS retrieval is successful.
  * Helm charts were enabled to use Kubernetes Ingress, but the `Ingress.spec.rules.host[]` was not honored with the `$dns` variable. This has been fixed in the `helm install` commands and now the script deploys the Ingress as expected.
2019-07-11 18:30:34 +02:00
Carlos Milán Figueredo
d026eb44a4 Restored --docker-username reference in usage() lost in the last commit 2019-07-10 13:29:25 +02:00
Carlos Milán Figueredo
00bf2470ce Several improvement and fixes: image_tag check for linux- prefix, login procedure for custom registry, --docker-username normalization and --dns aks option documented at usage() 2019-07-10 07:35:44 +02:00
Carlos Milán Figueredo
7684278f8b Fixed --docker-password parameter handling and a typo in --docker-username at usage() 2019-07-09 17:49:53 +02:00
Maurits van Beusekom
954dd4893a Correctly set the backing field for the use-local-k8s parameter 2019-03-12 11:47:24 +01:00
Maurits van Beusekom
e5ee6d735c Fix initialization of the use_custom_registry boolean 2019-03-11 13:20:40 +01:00
Maurits van Beusekom
45755aff0b Fix path error in docker-compose command 2019-03-08 16:16:50 +01:00
Maurits van Beusekom
46590874a7 Build correct solution 2019-03-08 14:03:14 +01:00
Maurits van Beusekom
047322f1a5 Added bash version of the Helm deploy script 2019-03-08 11:56:07 +01:00