Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Apply boot disk values from Magnum config #20

Merged
merged 2 commits into from
Nov 15, 2023

Conversation

dalees
Copy link
Contributor

@dalees dalees commented Oct 12, 2023

One commit to change extra_network_name to merge instead of overwrite the nodeGroupDefaults field.

Then, pass boot disk config through to CAPI helm charts, if it's set in Magnum config. A first pass, as there are several other relevant values in Magnum config for other volumes, and we may want to split by node type (worker, control plane).

Tests added, note that test_create_cluster_boot_volume_extra_network fails if the values do not merge into nodeGroupDefaults.

This allows other conditionals to merge into the
values for nodeGroupDefaults.
If Magnum configuration is set to define cinder volume size and types,
use it to set the boot disk volumes.

It's likely we'd want to separate the fields for control plane
and workers, but this is a good start.
@dalees
Copy link
Contributor Author

dalees commented Nov 2, 2023

cc @JohnGarbutt

Copy link
Member

@mkjpryor mkjpryor left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@JohnGarbutt JohnGarbutt left a comment

Choose a reason for hiding this comment

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

Looks good, thank you!

@JohnGarbutt JohnGarbutt merged commit e0ea187 into stackhpc:main Nov 15, 2023
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants