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

Schema for validation of extra values applied on packaged charts #16

Closed
fstaudt opened this issue Oct 22, 2022 · 0 comments
Closed

Schema for validation of extra values applied on packaged charts #16

fstaudt opened this issue Oct 22, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@fstaudt
Copy link
Owner

fstaudt commented Oct 22, 2022

When extra values are configured after Helm packaging, an extra level needs to be added with the name of the current chart.

helm-chart:
  ...

The aggregated JSON schema can't therefore be used to validate this extra values file.

The new packaged JSON schema should be generated by JsonSchemaAggregator and should reuse aggregated JSON schema:

{
  "properties": {
    "global": {
      "$ref": "aggregated-values.schema.json#/properties/global"
    },
    "helm-chart": {
      "$ref": "aggregated-values.schema.json"
    }
  },
  "additionalProperties": false
}

It should be applied automatically by IntelliJ plugin to all files named "*-values.yaml" in the root folder of the helm chart.

@fstaudt fstaudt added this to the 0.4.0 milestone Oct 22, 2022
@fstaudt fstaudt added the enhancement New feature or request label Oct 23, 2022
@fstaudt fstaudt self-assigned this Nov 13, 2022
@fstaudt fstaudt changed the title Schema packaged-values.schema.json for validation of extra values.yaml applied after packaging Schema for validation of values.yaml applied on packaged charts Nov 13, 2022
@fstaudt fstaudt changed the title Schema for validation of values.yaml applied on packaged charts Schema for validation of extra values applied on packaged charts Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant