|
1 | 1 | cht-user-management:
|
2 | 2 | replicaCount: 1
|
3 |
| - |
4 | 3 | service:
|
5 | 4 | port: 3000
|
6 |
| - |
| 5 | + enabled: true |
7 | 6 | image:
|
8 | 7 | repository: public.ecr.aws/medic/cht-user-management
|
9 |
| - tag: "" # Set this to the version of the docker image |
| 8 | + tag: "1.4.1" # Set this to the version of the docker image |
10 | 9 |
|
11 | 10 | # Environment variablues to set in the pod, for example:
|
12 | 11 | # env:
|
13 | 12 | # CONFIG_NAME: changeme
|
14 |
| - env: {} |
15 |
| - |
| 13 | + # REDIS_HOST: {{ Release.Name }}-redis-master.{{ .Release.Namespace }}.svc.cluster.local |
| 14 | + env: |
| 15 | + NODE_ENV: dev |
| 16 | + CHT_DEV_HTTP: false |
| 17 | + CHT_DEV_URL_PORT: hareet-test.dev.medicmobile.org |
| 18 | + CONFIG_NAME: chis-tg |
| 19 | + REDIS_HOST: test-user-management-redis-master.hareet-test.svc.cluster.local |
| 20 | + REDIS_PORT: 6379 |
16 | 21 | envSecrets:
|
17 |
| - # COOKIE_PRIVATE_KEY will be automatically generated if it doesn't exist |
| 22 | + # COOKIE/WORKER_PRIVATE_KEY will be automatically generated if it doesn't exist |
18 | 23 | - env: COOKIE_PRIVATE_KEY
|
19 |
| - secretName: '{{ include "chtUserManagement.fullname" . }}' |
| 24 | + secretName: "{{ .Release.Name }}-cht-user-management" |
| 25 | + - env: WORKER_PRIVATE_KEY |
| 26 | + secretName: "{{ .Release.Name }}-cht-user-management" |
| 27 | + |
| 28 | + ingress: |
| 29 | + annotations: |
| 30 | + alb.ingress.kubernetes.io/certificate-arn: arn:aws:iam::720541322708:server-certificate/2024-wildcard-dev-medicmobile-org-chain |
| 31 | + alb.ingress.kubernetes.io/group.name: dev-cht-alb |
| 32 | + alb.ingress.kubernetes.io/healthcheck-port: traffic-port |
| 33 | + alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS": 443}]' |
| 34 | + alb.ingress.kubernetes.io/scheme: internet-facing |
| 35 | + alb.ingress.kubernetes.io/ssl-redirect: "443" |
| 36 | + alb.ingress.kubernetes.io/tags: Environment=dev,Team=QA |
| 37 | + alb.ingress.kubernetes.io/target-type: ip |
| 38 | + className: alb |
| 39 | + enabled: true |
| 40 | + hosts: |
| 41 | + - host: hareet-test-users.dev.medicmobile.org |
| 42 | + paths: |
| 43 | + - path: / |
| 44 | + pathType: Prefix |
| 45 | + |
| 46 | + |
| 47 | +cht-user-management-worker: |
| 48 | + # Our worker does not need any ports exposed, services, healtchecks, so we toggle this to false |
| 49 | + # to prevent single-base-app from templating and creating those resources |
| 50 | + service: |
| 51 | + enabled: false |
| 52 | + replicaCount: 1 |
| 53 | + image: |
| 54 | + repository: public.ecr.aws/medic/cht-user-management-worker |
| 55 | + tag: "1.4.1" |
| 56 | + env: |
| 57 | + NODE_ENV: dev |
| 58 | + REDIS_HOST: test-user-management-redis-master.hareet-test.svc.cluster.local |
| 59 | + REDIS_PORT: 6379 |
| 60 | + envSecrets: |
| 61 | + - env: WORKER_PRIVATE_KEY |
| 62 | + secretName: "{{ .Release.Name }}-cht-user-management" |
| 63 | + |
| 64 | + |
| 65 | +redis: |
| 66 | + architecture: standalone |
| 67 | + replica: |
| 68 | + replicaCount: 1 |
| 69 | + persistence: |
| 70 | + enabled: true |
| 71 | + storageClass: ebs-gp2 |
| 72 | + size: 8Gi |
| 73 | + auth: |
| 74 | + enabled: false |
| 75 | + |
0 commit comments