Skip to content

Fix helm-lib dependency version

Arturo Hernandez [EPAM] requested to merge ah/fix-helm-lib-dependency into master
  • Helm dependency is set for multiple services to 0.1.0, this will break the helm build command, rolling back to original value.

As an example indexer/Chart.yaml:

apiVersion: v2
name: indexer
type: application
description: Installs the OSDU on Azure Core System Services
version: 1.15.0
appVersion: 0.15.0
dependencies:
  - name: "helm-library"
    version: "0.1.0"    # << Note version
    repository: file://../helm-library
    enabled: true

This will produce error:

helm package --dependency-update osdu-azure/indexer
Error: can't get a valid version for repositories helm-library. Try changing the version constraint in Chart.yaml

This is because of the dependency lookup of the helm-library defined in most of the Charts

NOTE: If --dependency-update is not set on package, when installing will produce error about missing dependency.

Merge request reports

Loading