Openshift Helm catalog is unable to pull remote JSON schemas on OpenShift Local #64
Comments
I'll try to provide a postprocessing step for |
@serenamarie125 wow, that is an especially weird one. 😂 I've created sample helm repo from the PR #66 to see if it works. Can you please try creating new Helm repository in the catalog and installing backstage from it? It works for me now in DevSandbox apiVersion: helm.openshift.io/v1beta1
kind: ProjectHelmChartRepository
metadata:
name: test-repo
spec:
connectionConfig:
url: 'https://raw.githubusercontent.com/tumido/helm-backstage/test-repo' |
I've also noticed a weird issue with the Helm Catalog: It takes me to |
One more interesting finding to the original issue - if you try installing any other chart and select "YAML view" tap in the installation step, this layout selection is remembered so you can back out and retry the Backstage chart without issues. Only the form layout is broken. Anyway, filed as https://issues.redhat.com/browse/ODC-7324 |
Reopening, discovered one new issue with this... Form view is stuck in endless loading if we reference particular schema version.. I need to investigate further and will follow up with yet another bug report.... Traced back to: rjsf-team/react-jsonschema-form#2241 - the library used to validate the chart's schema (totally unnecessary to do on the frontend IMO), doesn't support JSON Schema standard 2019-09 and the current revision 2020-20. Tracking as: https://issues.redhat.com/browse/OCPBUGS-14874 |
And another... This is partially due to invalid schema upstream, but OCP should not hang on "In progress" indefinitely. This is related to json-schema-org/json-schema-spec#574 Surprisingly Tracking as: https://issues.redhat.com/browse/OCPBUGS-14875 Update: As per JSON Schema standard the "format" keyword should only take an advisory role (like an annotation) and should not affect validation. In OCP helm form view it is somehow used during validation. |
Last two comments moved into separate issues. Closing this one. |
Clicking the Install Helm chart button results in different outcomes depending on the cluster location:
OpenShift Local
Developer Sandbox
OpenShift (aka remote cluster, non-restricted)
I think we need to inline the remote JSON schema references... Unfortunately. This will expose us to copy-paste errors. It's not a great solution.
The text was updated successfully, but these errors were encountered: