Skip to content

[Bug] Signup-mosipid Deployment - Missing Configuration Values in Deployment YAML #2058

Description

@rachik-hue

Description

The following required configuration values are missing from the default signup-mosipid deployment YAML.

Note: URLs use https://api-internal.<env-name>.mosip.net as the base URL, where <env-name> should be replaced with the actual environment name the MOSIP ID plugin is deployed and pointing to (e.g. qa11new).

Missing Configuration

- name: MOSIP_API_INTERNAL_HOST
  value: https://api-internal.<env-name>.mosip.net

- name: MOSIP_SIGNUP_SMS_NOTIFICATION_REMOVE_COUNTRY_CODE
  value: 'true'

- name: MOSIP_SIGNUP_IDENTIFIER_PREFIX
  value: '+91'

- name: MOSIP_ESIGNET_CAPTCHA_URL
  value: http://captcha.captcha

Keycloak Configuration Changes

Since the deployment is pointing to the otpmanager service from the qa11new environment, the Keycloak host and client secret references need to be updated to point to the corresponding qa11new ConfigMap and secrets.

1. ConfigMap Reference

# From:
- name: KEYCLOAK_EXTERNAL_URL
  valueFrom:
    configMapKeyRef:
      key: keycloak-external-url
      name: keycloak-host
      optional: false

# To:
- name: KEYCLOAK_EXTERNAL_URL
  valueFrom:
    configMapKeyRef:
      key: keycloak-external-url
      name: keycloak-host-<env-name>
      optional: false

2. Client Secret Reference

# From:
- name: MOSIP_SIGNUP_CLIENT_SECRET
  valueFrom:
    secretKeyRef:
      key: mosip_signup_client_secret
      name: keycloak-client-secrets
      optional: false

# To:
- name: MOSIP_SIGNUP_CLIENT_SECRET
  valueFrom:
    secretKeyRef:
      key: mosip_signup_client_secret
      name: keycloak-client-secrets-<env-name>
      optional: false

Note: Replace <env-name> with the actual environment name (e.g. qa11new). Ensure the corresponding ConfigMap keycloak-host-<env-name> and secret keycloak-client-secrets-<env-name> exist in the cluster before deploying.


Steps to Reproduce

  1. Deploy Signup with the default signup-mosipid deployment YAML.
  2. Inspect the environment variables in the deployment configuration.
  3. Observe that the above configuration values are missing.

Expected Result

All configuration values listed above should be present in the deployment YAML with correct values. <env-name> in the base URL should correspond to the environment the MOSIP ID plugin is deployed and pointing to (e.g. qa11new).


Environment

  • Env: esqa180 pointing to qa11new
  • Plugin: mosipid

Metadata

Metadata

Assignees

Type

Fields

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions