diff --git a/helm/charts/eligibility-estimator/templates/prod_ingress.yaml b/helm/charts/eligibility-estimator/templates/prod_ingress.yaml index cfed59114..a1bcefc13 100644 --- a/helm/charts/eligibility-estimator/templates/prod_ingress.yaml +++ b/helm/charts/eligibility-estimator/templates/prod_ingress.yaml @@ -2,6 +2,7 @@ {{- $fullName := include "fullname" . -}} {{- $svcPort := .Values.service.port -}} apiVersion: v1 +kind: List items: - apiVersion: networking.k8s.io/v1 kind: Ingress diff --git a/helmfile/overrides/eligibility-estimator/eligibility-estimator.yaml.gotmpl b/helmfile/overrides/eligibility-estimator/eligibility-estimator.yaml.gotmpl index 79f9696ec..2fe5bffe4 100644 --- a/helmfile/overrides/eligibility-estimator/eligibility-estimator.yaml.gotmpl +++ b/helmfile/overrides/eligibility-estimator/eligibility-estimator.yaml.gotmpl @@ -18,7 +18,7 @@ extraEnv: valueFrom: secretKeyRef: name: web-example-secret - key: example-secret-password + key: example-secret-password */}} image: @@ -34,7 +34,7 @@ ingress: prod_enabled: {{ requiredEnv "PROD_ENABLED" }} ssl_cert: service_canada_ca prod_url: {{ requiredEnv "SUB_DOMAIN" }}.{{ requiredEnv "BASE_DOMAIN" }} - enabled: true + enabled: {{ requiredEnv "ALPHA_ENABLED" }} annotations: {{ if (eq .Environment.Name "prototype")}} cert-manager.io/cluster-issuer: letsencrypt-prod-alpha-sc diff --git a/utils/api/benefitHandler.ts b/utils/api/benefitHandler.ts index 792ad1faa..04fd736ea 100644 --- a/utils/api/benefitHandler.ts +++ b/utils/api/benefitHandler.ts @@ -876,6 +876,15 @@ export class BenefitHandler { .calculatedBasedOnIndividualIncome ) + if ( + !allResults.partner.gis.cardDetail.collapsedText.includes( + this.translations.detailWithHeading.partnerEligible + ) + ) + allResults.partner.gis.cardDetail.collapsedText.unshift( + this.translations.detailWithHeading.partnerEligible + ) + // If client is eligible for ALW, need to recalculate estimate based on individual income if (clientAlw.eligibility.result === 'eligible') { if (