Introducing Choreo's Enhanced Configuration Management

We’re excited to roll out major enhancements to Choreo’s configuration management, designed to make application operations more efficient and developer-friendly. These updates reduce complexity, improve consistency across environments, and simplify the overall configuration experience.

Introducing configuration groups

Choreo now supports configuration groups, allowing you to logically group and manage related configurations. This capability reduces duplication and streamlines configuration management across multiple components. Organization admins and DevOps teams can define these groups, making them easily accessible for developers to integrate into their applications, promoting efficient collaboration and consistent deployments.

Flexible injection of configuration values

Choreo now allows you to inject values directly from configuration groups into your applications as either environment variables or files. This flexibility enables seamless integration of configurations into your workflow, tailored to your application's specific requirements.

Enhanced file-based configuration

We’ve improved support for structured, schema-driven configuration using the component.yaml file. By outlining your configuration schema, Choreo dynamically generates a user-friendly UI, allowing developers to conveniently provide environment-specific configuration values during deployment.

Getting started with configuration groups

Define a configuration group

  1. Login to the Choreo Console
  2. Click on Configuration Groups under the Devops section in the left navigation menu.
  3. Click the + Create button and provide a display name and description.
  4. Figure 1: Create a configuration group

  5. Define the configuration keys and click the Assign Value button.
  6. Provide the configuration values for each environment collection. Remove any environment from the list if it requires different values.
  7. Figure 2: Assign values to the configuration group

  8. Click the Create button.

Link a configuration group at deployment

  1. Create or navigate to the component where the configuration should be injected.
  2. Build the component if it hasn’t been built already.
  3. Go to the Deploy page and click the Configure & Deploy button.
  4. In the Configure & Deploy stepper, under the Environment Configuration section, click Link a Configuration Group.
  5. Select the desired configuration group from the dropdown list.

Figure 3: Link configuration group to a deployment

Getting started with file-based configuration

Define the configuration schema in component.yaml

  1. Create a choreo component and add a .choreo/component.yaml file to your component.
  2. Provide the endpoint details and define the configurations as shown below.
  3. Commit the component.yaml file and build the component.

Figure 4: component.yaml configuration with schema definition

Provide environment specific configuration values

  1. Go to the Deploy page and click on the Configure & Deploy button.
  2. In the Configuration step, the generated configuration form will be shown.
  3. Provide the values for the configuration and click Next.

Figure 5: Provide configuration values via configuration form

These improvements empower you to manage configurations more intuitively, maintain consistency across your deployments, and accelerate your development cycles.

Give these new enhancements a try and experience smoother, smarter configuration management with Choreo today!