Initial changes to deploy the services (#1)

- Add toleration and nodeSelector
- Add aws lb and external-dns annotations to frontend service
- Ask for FRONTEND_URL before generating k8s manifests
This commit is contained in:
Dmitrii Anoshin 2020-04-28 22:21:29 -07:00 committed by GitHub
parent dbde2f3bff
commit d492f30997
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 114 additions and 813 deletions

View file

@ -25,6 +25,7 @@ log() { echo "$1" >&2; }
TAG="${TAG:?TAG env variable must be specified}"
REPO_PREFIX="${REPO_PREFIX:?REPO_PREFIX env variable must be specified}"
FRONTEND_URL="${FRONTEND_URL:?FRONTEND_URL env variable must be specified}"
OUT_DIR="${OUT_DIR:-${SCRIPTDIR}/../release}"
print_license_header() {
@ -63,6 +64,9 @@ read_manifests() {
mk_kubernetes_manifests() {
out_manifest="$(read_manifests "${SCRIPTDIR}/../kubernetes-manifests")"
# replace env variables
out_manifest="$(echo "${out_manifest}" | envsubst)"
# replace "image" repo, tag for each service
for dir in ./src/*/
do