medic / cht-user-management

GNU Affero General Public License v3.0
3 stars 1 forks source link

Medic-hosted CIV User Management Tool #190

Closed inromualdo closed 1 month ago

inromualdo commented 3 months ago

Based on #110

inromualdo commented 3 months ago

@kennsippell Could you assist us with the deployment?

I currently don't have the access to deploy, but I have submitted a ticket to request access.

Hareet commented 2 months ago

@inromualdo We'll create a namespace along with your access for this project. We'll give Kenn access to that namespace as well, so he can support any configuration of this deployment.

Marina-Kenf commented 2 months ago

The following issue is blocking the creation of users for the go-live planned for August. @Hareet I'd like to request this to be treated as a priority. Thank you!

hiellavis commented 1 month ago

Hi @medic/site-reliability-engineering , May we please have an update on this ? Thx

cc @henokgetachew @Marina-Kenf @inromualdo @loukmantidjani

henokgetachew commented 1 month ago

I'm putting this on my plate for next week.

mrjones-plip commented 1 month ago

I'll have some time to look into this today and will update this ticket accordingly

mrjones-plip commented 1 month ago

Created CNAME for users-moh-civ.app to point to k8s-prodchtalb-dcc00345ac-1792311525.eu-west-2.elb.amazonaws.com on this AWS page:

image

There's now 4 users*.app DNS entries:

image

mrjones-plip commented 1 month ago

Note that because we match config name <> URL, I change the URL to be users-chis-civ.app so that it matches the config of chis-civ. This matches the deployments for UG, KE, and TG.

body of this ticket updated to match

Oh! I see the existing values YAML file for CIV has this updated URL too - we're good!

mrjones-plip commented 1 month ago

whew! This took a bit of remembering how we deploy things. I've covered the steps in detail in a pending PR, but tl;dr:

  1. make sure your helm charts repo is up to date
  2. make a new values YAML in deploy branch for CIV
  3. make sure the right version in the tag: field is in the values file. As of this writing it is 1.3.20
  4. check out the deploy branch
  5. in the scripts/deploy directory and run the install command:
    helm install --kube-context arn:aws:eks:eu-west-2:720541322708:cluster/prod-cht-eks \
      --namespace users-chis-prod  \
      --values values/users-chis-civ.yaml users-chis-civ  \
      helm-charts/charts/cht-user-management
  6. wait a good 5 minutes for EKS to deploy

In step 4 above, helm-charts/charts/cht-user-management may need be the full path to your helm charts - for me this was /home/mrjones/Documents/MedicMobile/helm-charts/charts/cht-user-management

inromualdo commented 1 month ago

Thank you @mrjones-plip 🍾