Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose configuration options for Openstack volumes in the template #967

Merged
merged 3 commits into from
Jan 30, 2025

Conversation

MirgDenis
Copy link
Contributor

@MirgDenis MirgDenis commented Jan 28, 2025

Expose rootVolume option in Openstack standalone control plane cluster template.
Resolves #965

Copy link
Contributor

@zerospiel zerospiel left a comment

Choose a reason for hiding this comment

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

lgtm, please bump the version in the config/dev/openstack-clusterdeployment.yaml to the corresponding one

@MirgDenis
Copy link
Contributor Author

JFYI this patch solves #965
Unfortunately I could not find the way to link this PR to issue

@wkonitzer
Copy link
Contributor

@MirgDenis do you want to add example config to

‎config/dev/openstack-clusterdeployment.yaml ?

Also, you might wish to update the k0rdent docs with the new configuration and add it to the OpenStack templates in the demo repo, perhaps as an additional demo or a template on Demo1?

(In the "description" for your PR, you can add "Fixes: #965") and that should link it.

@MirgDenis
Copy link
Contributor Author

@wkonitzer I think it's better to examples as simple as possible. For sure we will have more options added, maybe even all keys from OpenStackMachine will be added in template, so I think no point in one more example.

Commit in doc is good idea, I will prepare a patch.

@wkonitzer
Copy link
Contributor

wkonitzer commented Jan 28, 2025

@MirgDenis I disagree - I want to see an example of it somewhere so I'm not having to try and figure it out from all the docs, templates etc. I already have people interested in this update, so I'd like to make it as simple as possible for them (as non-coders), to get going.

If there's a decent example in the docs template, that would be enough to keep me happy.

@MirgDenis
Copy link
Contributor Author

@wkonitzer undertsood. But in my opinion there are no place for for such an example. config/dev has only one simplest scenario, and docs have only API ref.
There should be some examples directory with list of optional scenario like:

  • openstack-cluster-filtered-image.yaml
  • openstack-cluster-port-options.yaml
  • openstack-cluster-sec-groups.yaml
  • openstack-cluster-ssh.yaml
  • openstack-cluster-root-volume.yaml

And also examples can be grouped by control/worker attribute. I think such folder is out of scope of this PR.

@MirgDenis MirgDenis marked this pull request as draft January 29, 2025 00:33
@MirgDenis MirgDenis marked this pull request as ready for review January 29, 2025 00:45
Copy link
Collaborator

@bnallapeta bnallapeta 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. Please squash the commits.

Copy link
Collaborator

@a13x5 a13x5 left a comment

Choose a reason for hiding this comment

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

You should put new values into values.yaml with an empty/default value. This is convention we're using for other charts, so please add it for consistency.

* Generate templates
* Bump cluster template for openstack-clusterdeployment in config/dev
* Fix descriptions in worker part of schema
* Add default value for new key in values.yaml
@eromanova eromanova merged commit 2e734e1 into k0rdent:main Jan 30, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[enhancement] Expose configuration options for Openstack volumes in the template
6 participants