Skip to content

Overriding the values.schema.json for a default app? #939

@AlexCK-STFC

Description

@AlexCK-STFC

The values.schema.json of a kubernetes app chart is used to generate Azimuth's UI interface form when installing the chart.

It sets the default values, descriptions, and which values can be customised. There's also azimuth-ui.schema.yaml which can apply additional field restrictions/controls.

We want to patch these values. Changing the value in values.yaml (i.e. via azimuth_capi_operator_app_templates_<app>_default_values) has no effect on the UI as the form is generated instead using the values schema and the ui schema.

The only way to make changes is to create a subchart, with full replacements of values.schema.json and azimuth-ui.schema.yaml; as these are loaded as files from the root directory of the chart using Python.

Can a way be added instead to azimuth-ops, to overwrite these schema?

I.e. for HuggingFace. We want to change the default model away from DeepSeek which we don't allow per organisational security policy.
I recognise the reason for it to be the default, its a good choice for compatibility across platforms, but we'd need to change it for our own deployment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions