Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add top-level "repositories" object #4

Open
JeanMertz opened this issue May 13, 2017 · 0 comments
Open

add top-level "repositories" object #4

JeanMertz opened this issue May 13, 2017 · 0 comments

Comments

@JeanMertz
Copy link
Contributor

Our current API looks like this:

apiVersion: v1
charts:
- blendle/web:
    repo: https://blendle-charts.storage.googleapis.com

While 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.com

The current solution to this is to launch kubecrt using the --repo flag:

kubecrt --repo="blendle=https://blendle-charts.storage.googleapis.com" charts.yml

After 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: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant