Skip to content

feat(bootstrap-gcp): Add managed services & openbao config#197

Merged
NautiluX merged 2 commits intomainfrom
bootstrap-managed-services
Feb 23, 2026
Merged

feat(bootstrap-gcp): Add managed services & openbao config#197
NautiluX merged 2 commits intomainfrom
bootstrap-managed-services

Conversation

@NautiluX
Copy link
Member

@NautiluX NautiluX commented Feb 20, 2026

  • Add openbao config
  • Add managed service config
  • Remove yaml infra output

fixes CU-869c3kpk3 and CU-869c3kry4

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds OpenBao configuration support and hardcoded managed services (postgres, babelfish, s3) to the GCP bootstrap process. OpenBao is a secrets management solution, and this change enables users to configure it through both the interactive config generator and the GCP bootstrapper.

Changes:

  • Added OpenBaoConfig struct with URI, Engine, User, and Password fields (password excluded from YAML serialization)
  • Modified ManagedServiceConfig fields to be optional (except Name and Version) to support minimal service definitions
  • Added hardcoded managed services configuration in GCP bootstrapper

Reviewed changes

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

Show a summary per file
File Description
internal/installer/files/config_yaml.go Added OpenBaoConfig struct, made ManagedServiceConfig fields optional, added secret handling for OpenBao (with duplication issue)
internal/installer/config_generator_collector.go Added interactive prompts for OpenBao configuration
internal/bootstrap/gcp/gcp_test.go Added test coverage for OpenBao configuration, verified nil case
internal/bootstrap/gcp/gcp.go Added OpenBao fields to CodesphereEnvironment, hardcoded managed services, populated OpenBao config conditionally
docs/oms-cli_init_install-config.md Added documentation for OpenBao CLI flags
docs/oms-cli_beta_bootstrap-gcp.md Added documentation for OpenBao bootstrap flags
cli/cmd/init_install_config.go Added CLI flags and options for OpenBao configuration
cli/cmd/bootstrap_gcp.go Added OpenBao CLI flags, removed potentially sensitive log output

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

@NautiluX NautiluX force-pushed the bootstrap-managed-services branch 2 times, most recently from e1268f1 to a5036ec Compare February 23, 2026 09:54
Copy link
Member

@OliverTrautvetter OliverTrautvetter left a comment

Choose a reason for hiding this comment

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

Some questions

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

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


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

@NautiluX NautiluX force-pushed the bootstrap-managed-services branch 2 times, most recently from 155ca66 to 28af276 Compare February 23, 2026 10:44
Copy link
Member

@OliverTrautvetter OliverTrautvetter left a comment

Choose a reason for hiding this comment

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

lgtm now 👍

* Add openbao config
* Add managed service config
* Remove yaml infra output

fixes CU-869c3kpk3 and CU-869c3kry4
@NautiluX NautiluX force-pushed the bootstrap-managed-services branch from 55892b5 to b6757ff Compare February 23, 2026 10:54
Signed-off-by: NautiluX <2600004+NautiluX@users.noreply.github.com>
@NautiluX NautiluX merged commit a1dfcc5 into main Feb 23, 2026
6 checks passed
@NautiluX NautiluX deleted the bootstrap-managed-services branch February 23, 2026 11:19
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.

3 participants