Configure CVP pools to use existing VPCs - #82645
Conversation
|
[REHEARSALNOTIFIER] Note: If this PR includes changes to step registry files ( |
WalkthroughThe embedded AWS install configurations for 18 CVP cluster-pool Secret manifests now include explicit regional subnet lists, with four to eight subnet IDs specified per region. ChangesAWS subnet configuration
Estimated code review effort: 1 (Trivial) | ~5 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
clusters/hosted-mgmt/hive/pools/cvp/fips-install-config-aws-eu-central-1_secret.yaml (1)
43-49: 🗄️ Data Integrity & Integration | 🔵 Trivial | ⚡ Quick winUse the non-deprecated VPC subnet schema in every regional Secret.
The embedded configurations currently rely on the installer’s deprecated-field conversion. Change each
subnetsblock to nest underplatform.aws.vpcdirectly.
clusters/hosted-mgmt/hive/pools/cvp/fips-install-config-aws-eu-central-1_secret.yaml#L43-L49: nest the subnet list undervpc.clusters/hosted-mgmt/hive/pools/cvp/fips-install-config-aws-eu-north-1_secret.yaml#L43-L49: nest the subnet list undervpc.clusters/hosted-mgmt/hive/pools/cvp/fips-install-config-aws-eu-west-1_secret.yaml#L43-L49: nest the subnet list undervpc.clusters/hosted-mgmt/hive/pools/cvp/fips-install-config-aws-eu-west-2_secret.yaml#L43-L49: nest the subnet list undervpc.clusters/hosted-mgmt/hive/pools/cvp/install-config-aws-eu-west-3_secret.yaml#L42-L48: nest the subnet list undervpc.clusters/hosted-mgmt/hive/pools/cvp/install-config-aws-us-east-1_secret.yaml#L42-L50: nest the subnet list undervpc.clusters/hosted-mgmt/hive/pools/cvp/install-config-aws-us-east-2_secret.yaml#L42-L48: nest the subnet list undervpc.clusters/hosted-mgmt/hive/pools/cvp/install-config-aws-us-west-1_secret.yaml#L42-L46: nest the subnet list undervpc.clusters/hosted-mgmt/hive/pools/cvp/install-config-aws-us-west-2_secret.yaml#L42-L50: nest the subnet list undervpc.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@clusters/hosted-mgmt/hive/pools/cvp/fips-install-config-aws-eu-central-1_secret.yaml` around lines 43 - 49, Update the subnets blocks in all nine listed regional Secret files and nest each subnet list directly under platform.aws.vpc, preserving the existing subnet values and indentation. Apply this schema change to every anchor and sibling site: fips-install-config-aws-eu-central-1_secret.yaml (43-49), fips-install-config-aws-eu-north-1_secret.yaml (43-49), fips-install-config-aws-eu-west-1_secret.yaml (43-49), fips-install-config-aws-eu-west-2_secret.yaml (43-49), install-config-aws-eu-west-3_secret.yaml (42-48), install-config-aws-us-east-1_secret.yaml (42-50), install-config-aws-us-east-2_secret.yaml (42-48), install-config-aws-us-west-1_secret.yaml (42-46), and install-config-aws-us-west-2_secret.yaml (42-50).
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In
`@clusters/hosted-mgmt/hive/pools/cvp/fips-install-config-aws-eu-central-1_secret.yaml`:
- Around line 43-49: Update the subnets blocks in all nine listed regional
Secret files and nest each subnet list directly under platform.aws.vpc,
preserving the existing subnet values and indentation. Apply this schema change
to every anchor and sibling site:
fips-install-config-aws-eu-central-1_secret.yaml (43-49),
fips-install-config-aws-eu-north-1_secret.yaml (43-49),
fips-install-config-aws-eu-west-1_secret.yaml (43-49),
fips-install-config-aws-eu-west-2_secret.yaml (43-49),
install-config-aws-eu-west-3_secret.yaml (42-48),
install-config-aws-us-east-1_secret.yaml (42-50),
install-config-aws-us-east-2_secret.yaml (42-48),
install-config-aws-us-west-1_secret.yaml (42-46), and
install-config-aws-us-west-2_secret.yaml (42-50).
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Pro Plus
Run ID: bf1bac71-1347-46e2-b691-cfc292be89dc
📒 Files selected for processing (18)
clusters/hosted-mgmt/hive/pools/cvp/fips-install-config-aws-eu-central-1_secret.yamlclusters/hosted-mgmt/hive/pools/cvp/fips-install-config-aws-eu-north-1_secret.yamlclusters/hosted-mgmt/hive/pools/cvp/fips-install-config-aws-eu-west-1_secret.yamlclusters/hosted-mgmt/hive/pools/cvp/fips-install-config-aws-eu-west-2_secret.yamlclusters/hosted-mgmt/hive/pools/cvp/fips-install-config-aws-eu-west-3_secret.yamlclusters/hosted-mgmt/hive/pools/cvp/fips-install-config-aws-us-east-1_secret.yamlclusters/hosted-mgmt/hive/pools/cvp/fips-install-config-aws-us-east-2_secret.yamlclusters/hosted-mgmt/hive/pools/cvp/fips-install-config-aws-us-west-1_secret.yamlclusters/hosted-mgmt/hive/pools/cvp/fips-install-config-aws-us-west-2_secret.yamlclusters/hosted-mgmt/hive/pools/cvp/install-config-aws-eu-central-1_secret.yamlclusters/hosted-mgmt/hive/pools/cvp/install-config-aws-eu-north-1_secret.yamlclusters/hosted-mgmt/hive/pools/cvp/install-config-aws-eu-west-1_secret.yamlclusters/hosted-mgmt/hive/pools/cvp/install-config-aws-eu-west-2_secret.yamlclusters/hosted-mgmt/hive/pools/cvp/install-config-aws-eu-west-3_secret.yamlclusters/hosted-mgmt/hive/pools/cvp/install-config-aws-us-east-1_secret.yamlclusters/hosted-mgmt/hive/pools/cvp/install-config-aws-us-east-2_secret.yamlclusters/hosted-mgmt/hive/pools/cvp/install-config-aws-us-west-1_secret.yamlclusters/hosted-mgmt/hive/pools/cvp/install-config-aws-us-west-2_secret.yaml
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nmars The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@nmars: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Let CVP clusterpools use pre-existing, managed VPCs as was done in #71769 for Konflux
Summary by CodeRabbit
Configures CVP cluster pools across nine AWS regions to deploy into pre-existing managed VPCs by explicitly specifying the approved subnet IDs in both standard and FIPS install configurations.