Skip to content

chore: add new managed service providers #462

Draft
utkuerol wants to merge 2 commits into
mainfrom
utku/new-providers
Draft

chore: add new managed service providers #462
utkuerol wants to merge 2 commits into
mainfrom
utku/new-providers

Conversation

@utkuerol

@utkuerol utkuerol commented Jun 9, 2026

Copy link
Copy Markdown
Member

We have 3 new providers (rabbitmq, valkey, opensearch) in PoC state which we would like to be able to early QA towards a preview state. This PR adds the new providers to config.managedServices and the new required components to config.managedServiceBackends.

utkuerol added 2 commits June 9, 2026 09:10
Signed-off-by: utkuerol <utku.erol@icloud.com>
@utkuerol utkuerol requested review from Copilot and joka134 June 9, 2026 07:21
@utkuerol utkuerol removed the request for review from joka134 June 9, 2026 07:22
@utkuerol utkuerol marked this pull request as draft June 9, 2026 07:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds PoC managed service providers (rabbitmq, valkey, opensearch) to the installer’s default codesphere.managedServices list and extends the config schema / resource-profile handling to include additional managed-service backend components.

Changes:

  • Extend default Codesphere.ManagedServices to include opensearch, rabbitmq, and valkey (all v0).
  • Extend ManagedServiceBackendsConfig schema with k8sBackend and rabbitMqOperator entries (plus new config types).
  • Update the noRequests resource profile to initialize/apply overrides for the new k8sBackend backend and to initialize the RabbitMQ operator backend config; update tests accordingly.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
internal/installer/resource_profiles.go Initializes new managed-service backend configs under the noRequests resource profile and applies zero-request resource overrides for k8sBackend.
internal/installer/resource_profiles_test.go Adds assertions for the new managed-service backend fields under the noRequests profile.
internal/installer/files/config_yaml.go Extends the YAML config schema for managedServiceBackends to include k8sBackend and rabbitMqOperator.
internal/installer/config_manager_profile.go Adds opensearch, rabbitmq, and valkey to the default managed services list.
internal/installer/config_manager_profile_test.go Updates managed-services expectations to include the new providers and new total count.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

S3 *S3ManagedServiceConfig `yaml:"s3,omitempty"`
Postgres *PgManagedServiceConfig `yaml:"postgres,omitempty"`
S3 *S3ManagedServiceConfig `yaml:"s3,omitempty"`
RabbitMqOperator *RabbitMqOperatorConfig `yaml:"rabbitMqOperator,omitempty"`
Comment on lines 178 to 188
if g.Config.Codesphere.ManagedServices == nil {
g.Config.Codesphere.ManagedServices = []files.ManagedServiceConfig{
{Name: "postgres", Version: "v1"},
{Name: "babelfish", Version: "v1"},
{Name: "s3", Version: "v1"},
{Name: "virtual-k8s", Version: "v1"},
{Name: "ferretdb", Version: "v0"},
{Name: "opensearch", Version: "v0"},
{Name: "rabbitmq", Version: "v0"},
{Name: "valkey", Version: "v0"},
}
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