Skip to content

fixes: #1790 updated all config for Rapid Deployment support for eSignet standalone deployment#245

Open
bhumi46 wants to merge 153 commits into
mosip:developfrom
bhumi46:MOSIP-44613
Open

fixes: #1790 updated all config for Rapid Deployment support for eSignet standalone deployment#245
bhumi46 wants to merge 153 commits into
mosip:developfrom
bhumi46:MOSIP-44613

Conversation

@bhumi46

@bhumi46 bhumi46 commented Jun 9, 2026

Copy link
Copy Markdown
Member

Summary

  • Restructure external-dsf.yaml: move esignet-keycloak-init to keycloak namespace (priority -11); add per-namespace postgres-init entries for mosip_esignet_cre, mosip_esignet_qa11, mosip_esignet_sunbird, mosip_mockidentitysystem, and signup schemas; fix MinIO re-deploy root-password pass-through
  • Restructure esignet-dsf.yaml: deploy 4 fully isolated eSignet instances (esignet / esignet-cre / esignet-qa11 / esignet-sunbird) with per-namespace SoftHSM, plugin values, oidc-ui, mock-RP, PMS partner+policy, and optional onboarders
  • Add signup-dsf.yaml: Signup Keycloak init, kernel services (authmanager / auditmanager / otpmanager / notifier), mock-smtp, signup-service, signup-ui (all disabled by default)
  • Add testrigs-dsf.yaml: API testrig for all 4 esignet namespaces + signup apitestrig + signup uitestrig; sequential cronjob trigger via trigger-test-jobs-esignet.sh
  • Add 30+ hook scripts under esignet-1.7.1/: config-server setup/postinstall, cre/qa11/sunbird preinstall wrappers, keycloak-init pre/postinstall fan-out, MISP and mock-RP onboarder hooks (replaces old partner-onboarder), signup hooks (keycloak-init, kernel, notifier, signup-service), testrig setup hooks
  • Add helmsman_signup.yml workflow (new); extend helmsman_esignet.yml with multi-namespace secret injection and auto-trigger chain to signup; fix helmsman_external.yml MinIO password on upgrade
  • Add plugin values (esignet-{,cre-,qa11-,sunbird-}plugin-values.yaml), keycloak init values (keycloak-esignet-init-values.yaml, keycloak-signup-init-values.yaml), config-server values, SoftHSM values, and testrig values under Helmsman/utils/

Linked Issues

Closes mosip/mosip-infra#1790

Sub-tasks:

Test plan

  • external-dsf.yaml apply: postgres-init creates all 4 esignet DBs + mock-identity + signup schemas; esignet-keycloak-init completes in keycloak ns; esignet-postinstall-keycloak-init.sh fans keycloak resources to all 4 esignet namespaces; MinIO upgrade passes existing root password without PASSWORDS ERROR
  • esignet-dsf.yaml apply: all 4 eSignet instances healthy (plugin 1/2/2/3); oidc-ui VirtualServices resolve on correct subdomains; mock-RP services up in each namespace; esignet-domain-config CM present in all 4 namespaces with correct mosip-esignet-host per namespace
  • signup-dsf.yaml apply: kernel services (authmanager/auditmanager/otpmanager/notifier), signup-service, signup-ui all healthy; esignet-dsf=completed label present on default namespace before signup workflow fires
  • testrigs-dsf.yaml apply: cronjobs created in all 4 esignet namespaces + signup; trigger-test-jobs-esignet.sh fires sequentially without resource exhaustion
  • Re-deploy (upgrade) succeeds without manual cleanup — pre-helmsman-cleanup.sh removes stale Jobs before re-run

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • eSignet standalone expanded to CRE/QA11/Sunbird + signup profile; multi-namespace test rigs, signup deploy workflow and auto-trigger; new workflow inputs for DB ports and eSignet domain names.
  • Documentation

    • Large deployment/playbook updates and new guide added covering profiles, workflow inputs/secrets, and profile-scoped state handling.
  • Bug Fixes

    • Hardened readiness timeouts and idempotent hooks; improved secret masking/handling and Keycloak secret retrieval; avoid SoftHSM PIN regeneration on reruns.

bhumi46 and others added 30 commits April 8, 2026 10:47
Signed-off-by: bhumi46 <111699703+bhumi46@users.noreply.github.com>
Signed-off-by: bhumi46 <111699703+bhumi46@users.noreply.github.com>
Signed-off-by: bhumi46 <bhumi46@users.noreply.github.com>
Signed-off-by: bhumi46 <111699703+bhumi46@users.noreply.github.com>
Signed-off-by: bhumi46 <bhumi46@users.noreply.github.com>
Signed-off-by: bhumi46 <111699703+bhumi46@users.noreply.github.com>
Signed-off-by: bhumi46 <111699703+bhumi46@users.noreply.github.com>
Signed-off-by: bhumi46 <bhumi46@users.noreply.github.com>
Signed-off-by: bhumi46 <bhumi46@users.noreply.github.com>
…ofile based workflow

Signed-off-by: abhishek-1809 <abhisahu1920@gmail.com>
[MOSIP-44613]merging develop changes into MOSIP-44613
…ofile based workflow

Signed-off-by: abhishek-1809 <abhisahu1920@gmail.com>
…ofile based workflow

Signed-off-by: abhishek-1809 <abhisahu1920@gmail.com>
…ofile based workflow

Signed-off-by: abhishek-1809 <abhisahu1920@gmail.com>
…ofile based workflow

Signed-off-by: abhishek-1809 <abhisahu1920@gmail.com>
…ofile based workflow

Signed-off-by: abhishek-1809 <abhisahu1920@gmail.com>
…ofile based workflow

Signed-off-by: abhishek-1809 <abhisahu1920@gmail.com>
…ofile based workflow

Signed-off-by: abhishek-1809 <abhisahu1920@gmail.com>
Signed-off-by: abhishek-1809 <abhisahu1920@gmail.com>
updating this branch with develop
Signed-off-by: bhumi46 <111699703+bhumi46@users.noreply.github.com>
Signed-off-by: bhumi46 <bhumi46@users.noreply.github.com>
…ofile based workflow

Signed-off-by: abhishek-1809 <abhisahu1920@gmail.com>
Signed-off-by: bhumi46 <111699703+bhumi46@users.noreply.github.com>
Signed-off-by: bhumi46 <111699703+bhumi46@users.noreply.github.com>
Signed-off-by: bhumi46 <111699703+bhumi46@users.noreply.github.com>
Signed-off-by: bhumi46 <111699703+bhumi46@users.noreply.github.com>
Signed-off-by: bhumi46 <111699703+bhumi46@users.noreply.github.com>
Signed-off-by: bhumi46 <111699703+bhumi46@users.noreply.github.com>
softhsm-mock-identity-system-postinstall.sh was creating the configmap
in the old "esignet" namespace causing NotFound error. Also fixed
mock-relying-party-ui-preinstall.sh which hardcoded "esignet" instead
of using the esignet-mock namespace.

Signed-off-by: bhumi46 <thisisbn46@gmail.com>
postInstall only fires on fresh install, not upgrade. Adding preUpgrade
and postUpgrade hooks so the softhsm-mock-identity-system-share configmap
is (re)created in esignet-mock on every Helmsman run regardless of whether
it is an install or upgrade.

Signed-off-by: bhumi46 <thisisbn46@gmail.com>
Signed-off-by: bhumi46 <thisisbn46@gmail.com>
Signed-off-by: bhumi46 <thisisbn46@gmail.com>
bhumi46 added 4 commits June 26, 2026 01:27
- oidc-ui: oidc_service_host and REACT_APP_* URLs fixed from
  esignet.esignet-mock to esignet-mock.esignet-mock (release rename)
- mock-relying-party-service: ESIGNET_SERVICE_URL same fix
- mock-relying-party-ui (all 4): add MOCK_RELYING_PARTY_SERVICE_INTERNAL_URL
  per namespace; chart default was hardcoded to esignet namespace
- mock-identity-system-preinstall: DB user default corrected from
  mockidsystemuser to mockidentityuser
- esignet-dsf + testrigs-dsf + workflow: sunbird_domain_name replaced
  with mosipid1_domain_name (Sunbird RC registry is on MOSIP ID1 infra)
- workflow: fix diagnostic namespace list to esignet-mock

Signed-off-by: bhumi46 <thisisbn46@gmail.com>
…pace config

- mock-relying-party-ui mosipid1/2/sunbird: MOCK_RELYING_PARTY_SERVICE_INTERNAL_URL
  corrected to include release name suffix (e.g. mock-relying-party-service-mosipid1)
- esignet-mock-rp-onboarder: add onboarder-namespace configmap with ns_esignet=esignet-mock
- sunbird_domain_name replaced with mosipid1_domain_name in esignet-dsf (Sunbird RC
  registry is on MOSIP ID1 infrastructure)

Signed-off-by: bhumi46 <thisisbn46@gmail.com>
… domain vars

- esignet-config-server: disabled by default
- all mosipid2 apps (softhsm, esignet, oidc-ui, mock-rp-service, mock-rp-ui): disabled by default
- pms-partner/policy mosipid1 and mosipid2: disabled by default
- esignet-mock-rp-onboarder: add image.repository/tag (mosipid/partner-onboarder:1.3.0-beta.1)
- mosipid1/2 values: MOSIP_IDA_CLIENT_SECRET reads from namespace-specific
  keycloak-client-secrets-mosipid1/2 instead of local keycloak-client-secrets
- testrigs workflow: rename cre_domain_name/qa11_domain_name to
  mosipid1_domain_name/mosipid2_domain_name fixing helmsman env var error

Signed-off-by: bhumi46 <thisisbn46@gmail.com>
…ces section

Signed-off-by: bhumi46 <thisisbn46@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants