Missing schemas from schemastore
Describe the bug
Trying to apply Traefik v3 schema to currently editing traefik.yaml file but only getting Traefik v2 proposal, even though Traefik v3 is defined in https://www.schemastore.org/api/json/catalog.json
Expected Behavior
Traefik v3 should be in the list
Current Behavior
Only Traefik v2 is listed
Steps to Reproduce
- Install vscode extension
- edit traefik.yaml file
- Syntax is matched to Traefik v2 syntax with no option to change it to Traefik v3
Environment
- [ ] Windows
- [x] Mac
- [ ] Linux
- [ ] other (please specify)
I can also mention: Same on vscode on Windows
As a workaround, adding this line seems to be working :
# yaml-language-server: $schema=https://www.schemastore.org/traefik-v3.json
I can confirm either adding the
# yaml-language-server: $schema=https://raw.githubusercontent.com/weaveworks/eksctl/main/pkg/apis/eksctl.io/v1alpha5/assets/schema.json
works or you can add it as an entry to your settings.json
"yaml.schemas": {
"https://raw.githubusercontent.com/weaveworks/eksctl/main/pkg/apis/eksctl.io/v1alpha5/assets/schema.json": "eksctl-*.yaml"
},
But the thing is, even when I removed the plugin cache, it still doesn't download the schema for eksctl even though it is defined in https://www.schemastore.org/api/json/catalog.json
Furthermore, the absence of the fileMatch for both Traefik v3 and eksctl entries in the https://www.schemastore.org/api/json/catalog.json can be related to this issue