-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
Our current API looks like this:
apiVersion: v1
charts:
- blendle/web:
repo: https://blendle-charts.storage.googleapis.comWhile this works, it becomes tedious if you want to add multiple charts from the same (non-stable/default) repository:
apiVersion: v1
charts:
- blendle/web:
repo: https://blendle-charts.storage.googleapis.com
- blendle/cron:
repo: https://blendle-charts.storage.googleapis.comThe current solution to this is to launch kubecrt using the --repo flag:
kubecrt --repo="blendle=https://blendle-charts.storage.googleapis.com" charts.ymlAfter which you no longer need to define the repo in the charts/yml:
apiVersion: v1
charts:
- blendle/web: {}
- blendle/cron: {}This works, but if we want charts.yml to be a self-sustainable config, that does not depend on CLI flags, we could introduce a new repositories object:
apiVersion: v1
repositories:
blendle: https://blendle-charts.storage.googleapis.com
charts:
- blendle/web: {}
- blendle/cron: {}