instrumenta / instrumenta/kubeval
kubeval failing with EOF error when trying to mirror the schema to local artifcatory URL as below
- Dominant language
- Go
- Stars
- 3.2k
- Forks
- 227
- PR merge metrics
- No merged PRs in 30d
Description
[shilpa@Centos helm]$ ./kubeval --skip-kinds BrPolicy /tmp/test.yaml --schema-location https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone
ERR - EventProcessingService/charts/efsesymac/charts/esymacservice/templates/netactsecrets.yaml: Failed initializing schema https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/secret-v1.json: Get "https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/secret-v1.json": unexpected EOF
ERR - EventProcessingService/charts/efsesymac/charts/efsmonitor/templates/configmapefsmonitor.yaml: Failed initializing schema https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/configmap-v1.json: Get "https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/configmap-v1.json": unexpected EOF
ERR - EventProcessingService/charts/pmprocessor/templates/servicepersistance_pvc.yaml: Failed initializing schema https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/persistentvolumeclaim-v1.json: Get "https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/persistentvolumeclaim-v1.json": unexpected EOF
ERR - EventProcessingService/charts/efsclient/templates/efsclient-role.yaml: Failed initializing schema https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/role-rbac-v1.json: Get "https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/role-rbac-v1.json": unexpected EOF
ERR - EventProcessingService/charts/eventreceiver/templates/svceventreceiver.yaml: Failed initializing schema https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/service-v1.json: Get "https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/service-v1.json": unexpected EOF
ERR - EventProcessingService/charts/efsesymac/charts/efsmonitor/templates/deploymentefsmonitor.yaml: Failed initializing schema https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/deployment-apps-v1.json: Get "https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/deployment-apps-v1.json": unexpected EOF
ERR - EventProcessingService/charts/efsesymac/charts/esymacservice/templates/esymacservice-ss.yaml: Failed initializing schema https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/statefulset-apps-v1.json: Get "https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/statefulset-apps-v1.json": unexpected EOF
ERR - EventProcessingService/charts/efsesymac/charts/efsmonitor/templates/post-upgrade-job.yaml: Failed initializing schema https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/job-batch-v1.json: Get "https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/job-batch-v1.json": unexpected EOF
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the reported command with the local Artifactory schema URL and inspect how --schema-location constructs schema paths. Check why the path contains a duplicated master-standalone segment and why the request ends with EOF. Done means the local schema URL resolves correctly and kubeval validates the provided manifest without these initialization errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100