DIGIT Docs
Microplanning 0.1
  • DIGIT Knowledge Base
  • Local Governance
Microplanning 0.1
  • Introducing Microplanning
    • Release Notes
      • v0.1 Release Notes
        • Release Checklist
        • Technical Release Summary
        • Master Data Management Service (MDMS) and Configuration updates
        • Service Builds
        • UI/UX Audit
  • PRODUCT SPECIFICATION
    • User Manual
    • Product Requirement Document
      • SOPs
        • Guidelines
  • TECHNOLOGY
    • Architecture
      • High Level Design
      • Low Level Design
        • Plan Management
        • Census Management
        • Microplanning UI
          • System Admin Flow
          • Population Data Approval
          • Facility Catchment Mapping
          • Microplan Estimation Approval
      • Services
        • HCM Microplan Web
          • User Interface Design
          • Set Up Microplan
            • Microplan Details
            • Boundary Selection
            • Data Management
            • Microplan Assumptions
            • Formula Configuration
            • User Tagging
            • Summary Screen
          • User Management
            • Bulk User Create
            • Download Users Credentials
          • Supervisor Flows
            • User Interface Design
            • My Microplan
            • Select Activity
            • Validate And Approve Population Data
              • Village Details
            • Assign Facility To Villages
              • Village Assignment And Unassignment to Facility
            • Validate And Approve Microplan Estimation
          • Open Microplans: System Admin
    • Specification
      • Plan Service
      • Resource Generator Service
      • Census Service
  • SETUP
    • Installation
    • Configuration
      • Advanced Configurations
    • QA Test Cases
Powered by GitBook

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.

On this page
  • Helm Configurations
  • Database and Migration Configuration Overview -

Was this helpful?

Export as PDF
  1. SETUP
  2. Configuration

Advanced Configurations

PreviousConfigurationNextQA Test Cases

Last updated 5 months ago

Was this helpful?

Helm Configurations

Following are the service helm charts:

Census Service:

Plan Service:

Resource Generator:


Database and Migration Configuration Overview -

Database Configuration Information

The configuration snippet provides the details required to set up and connect to a database, including environment-specific handling, credentials, schema information, and other related settings. Below is a structured breakdown:


Database Connection Information

Parameter Name
Value / Source
Description

DB_URL

health-db-url or db-url from egov-config

URL for connecting to the database. Uses health-db-url in the "health" namespace, else db-url.

DB_HOST

db-host from egov-config

Hostname or IP address of the database server.

DB_PORT

"5432"

Port number for database connection (default PostgreSQL port).

DB_NAME

db-name from egov-config

Name of the database being connected to.

DB_SCHEMA

Namespace value ("health") for Microplanning or "public"

Specifies the schema within the database. Defaults to "public" if no namespace is provided.

DB_USER

username from db secret

Database username used for authentication.

DB_PASSWORD

password from db secret

Database password for authentication.


Flyway Migration Information

Parameter Name
Value / Source
Description

FLYWAY_USER

flyway-username from db secret

User for running Flyway migrations.

FLYWAY_PASSWORD

flyway-password from db secret

Password for Flyway migration user.

FLYWAY_LOCATIONS

flyway-locations from egov-config

Directory or path for Flyway migration scripts.

SCHEMA_TABLE

schemaTable from initContainers.dbMigration

Table name for tracking Flyway migrations.


General Notes

  • ConfigMap and Secrets Integration: Sensitive data like DB_USER, DB_PASSWORD, and Flyway credentials are securely retrieved from Kubernetes secrets (db secret). Non-sensitive configurations like DB_HOST and DB_NAME are stored in ConfigMaps (egov-config).

  • Namespace-Specific Configuration: The DB_URL and DB_SCHEMA are tailored for specific namespaces. For example, the "health" namespace uses a dedicated health-db-url key and the namespace value for the schema.

  • Default Settings: Where applicable, defaults are provided. For instance, the schema defaults to "public" and the port defaults to 5432.

These configurations enhance the flexibility and usability of the core services of HCM-Microplanning, ensuring smoother operations and better alignment with user needs.

DIGIT-DevOps/deploy-as-code/helm/charts/health-services/census-service/values.yaml at unified-env · egovernments/DIGIT-DevOpsGitHub
Census Service Helm Chart
DIGIT-DevOps/deploy-as-code/helm/charts/health-services/plan-service/values.yaml at unified-env · egovernments/DIGIT-DevOpsGitHub
Plan Service Helm Chart
DIGIT-DevOps/deploy-as-code/helm/charts/health-services/resource-generator/values.yaml at unified-env · egovernments/DIGIT-DevOpsGitHub
Resource Generator Helm Chart
Logo
Logo
Logo