mirror of
https://github.com/helm/helm.git
synced 2026-04-08 10:26:21 -04:00
- v3.18.5 switched jsonschema and began resolving external $ref
at compile-time, exposing missing urn handling
(“no URLLoader registered for urn:…”).
- Add urn scheme loader and pluggable URNResolver. If unresolved, log
a warning and return a permissive true schema (back-compat).
- Apply to pkg/chart/v2 and internal/chart/v3 validators. Not sure about
that
Note: external URNs need AddResource/Resolver (the CLI uses --map for
this). Warning may appear twice since both validators run.
Another strategy could be to add the option to import more "external
schema" explicitly but it is another PR. Something similar to `--map`
from jsonschema package
(santhosh-tekuri/jsonschema@ed65924).
Close: #31170
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| action | ||
| chart | ||
| cli | ||
| cmd | ||
| downloader | ||
| engine | ||
| gates | ||
| getter | ||
| helmpath | ||
| ignore | ||
| kube | ||
| postrenderer | ||
| provenance | ||
| pusher | ||
| registry | ||
| release | ||
| repo/v1 | ||
| storage | ||
| strvals | ||
| uploader | ||