-
Type: Task
-
Status: To Do (View Workflow)
-
Priority: Medium
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: helm-charts
-
Labels:None
-
Story Points:0
Checking chart: ./voltha-stack
Error: can't get a valid version for repositories voltha. Try changing the version constraint in Chart.yaml
==> Linting ./voltha-stack
1 chart(s) linted, 0 chart(s) failed
=======================================================================
Update helmlint.sh to report more context for "can't get a valid version". Problem is due to version string in a dependent chart being updated while the consumer chart still contains the last chart version.
Problem is indirectly reported by "helm dependency update".
Logic can parse the yaml file and report detail for the problem.
Better yet the logic can be augmented to auto-generate or update charts.
voltha/Chart.yaml: v2.11.6
voltha-stack/Chart.yaml:
dependencies:
- name: voltha
repository: file://../voltha
version: 2.11.5 <<=======================**
condition: voltha.enabled - name: voltha-adapter-openonu
repository: file://../voltha-adapter-openonu
version: 2.11.0
condition: voltha-adapter-openonu.enabled