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

console: JSON schema is out of sync with that of the redpanda chart #1603

Open
chrisseto opened this issue Nov 18, 2024 · 0 comments
Open

console: JSON schema is out of sync with that of the redpanda chart #1603

chrisseto opened this issue Nov 18, 2024 · 0 comments

Comments

@chrisseto
Copy link
Contributor

chrisseto commented Nov 18, 2024

Discovered by a user in our community slack.

They encountered the following error message:

Error: UPGRADE FAILED: values don't meet the specifications of the schema(s) in the following chart(s):
redpanda:
- console.ingress.className: Invalid type. Expected: string, given: null
- console.service.targetPort: Invalid type. Expected: integer, given: null

It seems the trigger to get this issue is the --reuse-values flag which behaves a bit more strangely than one would expect IIRC.

The underlying issue is that the console chart's JSON schema isn't being generated as we do with the operator or redpanda chart. According to the redpanda chart className is an optional string but the console chart has it as [string, null] as the default value is null.

We'll want to start generating the console chart's JSON schema from it's values definition the same way we do with redpanda and make any required adjustments.

JIRA Link: K8S-421

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

No branches or pull requests

1 participant