app-registry / appr

Apache License 2.0
56 stars 18 forks source link

Preserve Helm dependency options #67

Closed cehoffman closed 7 years ago

cehoffman commented 7 years ago

It would be nice for an appr dependency in a helm requirements.yaml to pass through other helm dependency options than just name, version, and repository. A use case is the dependency option condition which allows a dependency to be enabled depending on a value in user supplied configuration.

For example:

appr:
- name: reg.my.company/org/chart
  version: 0.1.0
  condition: subdep.enabled

would result in

dependencies:
- name: chart
  version: 0.1.0
  repository: file://appr_charts/org/chart
  condition: subdep.enabled
appr:
- name: reg.my.company/org/chart
  version: 0.1.0
  condition: subdep.enabled
ant31 commented 7 years ago

Thanks for the proposal, It should be implemented in #76