Implement hardcoded params at CRD level #354

Merged
tobru merged 3 commits from 294-hardcoded-params into main 2026-01-22 13:51:47 +00:00
Member

ref #294

ref #294
Implement hardcoded params at CRD level
All checks were successful
Tests / test (push) Successful in 36s
e3f75eb2da
ref #294
Owner

The Django admin reports

(!) Error: Error while creating EditorState: Invalid schema: Schema of type 'object' must have at least one of these keys: ['properties' or 'keys' or 'oneOf' or 'anyOf' or 'allOf']

In the ControlPlane CRD form. To still be able to test the functionality, I changed it locally to a forms.TextArea field and inserted the requested JSON value. With that I could test the functionality, and it works as intended.

The Django admin reports ``` (!) Error: Error while creating EditorState: Invalid schema: Schema of type 'object' must have at least one of these keys: ['properties' or 'keys' or 'oneOf' or 'anyOf' or 'allOf'] ``` In the ControlPlane CRD form. To still be able to test the functionality, I changed it locally to a `forms.TextArea` field and inserted the requested JSON value. With that I could test the functionality, and it works as intended.
Author
Member

Fixed:

  • the admin input. this involved changing the format of the field to be an array instead of an object, so you'll have to change your test data
  • changed spec data update order so that compute plans supersede hardcoded params
Fixed: - the admin input. this involved changing the format of the field to be an array instead of an object, so you'll have to change your test data - changed spec data update order so that compute plans supersede hardcoded params
rixx force-pushed 294-hardcoded-params from e1dd0eedcf
All checks were successful
Tests / test (push) Successful in 36s
to 7807073da7
All checks were successful
Tests / test (push) Successful in 37s
2026-01-22 13:06:28 +00:00
Compare
tobru merged commit e796986d6b into main 2026-01-22 13:51:47 +00:00
tobru deleted branch 294-hardcoded-params 2026-01-22 13:51:47 +00:00
Sign in to join this conversation.
No description provided.