Skip to content

Missing cloud config options from CAPI Helm Schema#803

Open
JasleenKaurSethi wants to merge 1 commit into
helm-values-schema-pt2from
missing-cloud-config
Open

Missing cloud config options from CAPI Helm Schema#803
JasleenKaurSethi wants to merge 1 commit into
helm-values-schema-pt2from
missing-cloud-config

Conversation

@JasleenKaurSethi

Copy link
Copy Markdown
Contributor

Fix cloudConfig schema validation for values already supported by the cloud-config.yaml template.

The template supports some fields that the schema is missing causing Magnum CAPI Helm installs to fail when passing valid cloud config options.

Thus,

  • Added explicitly templated options to the schema
  • additionalProperties true is set for fields which allow additional fields

@JasleenKaurSethi
JasleenKaurSethi requested a review from a team as a code owner July 21, 2026 16:32
@JasleenKaurSethi JasleenKaurSethi changed the title Missing cloud config Missing cloud config options from CAPI Helm Schema Jul 21, 2026

@wtripp180901 wtripp180901 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.

Would be good to test the new fields by adding them to values_full.yaml, where that is possible.

Also these changes get overwritten when running helm schema, I think you can pass information for maps which don't have defaults set in values.yaml by defining them in schema annotations e.g

# @schema
# type: [object, "null"]
# properties:
#   host:
#     type: string
#   port:
#     type: integer
# @schema
myField:

@m-bull
m-bull changed the base branch from main to helm-values-schema-pt2 July 22, 2026 22:08
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