-
Notifications
You must be signed in to change notification settings - Fork 169
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
feat(cli): Charttool #367
feat(cli): Charttool #367
Conversation
Renames the helmraiser package to helm, because its scope is going to be extended in the following. It will not only cover helmraiser functionality going on, but also house declarative chart management code
Adds a new `tk tool charts` command, which enables declarative management of vendored Helm charts. As proposed by https://docs.google.com/document/d/171F0cm_VliMStmHe6oy5pAbuXihr-7Cb5yD-vmwqpP8, Helm Charts should be vendored by the individual library that consumes them. To simplify this process, `tk tool charts` provides a declarative config file to automate `helm pull`. The rest of above document will be implemented in subsequent pull requests
wtf happened here
return err | ||
} | ||
|
||
fmt.Print(string(data)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we colourise this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not easily. The only yaml highlighter library I am aware of (alecthomas/chroma) doesn't handle yaml well, especially not on light schemed terminals.
We actually removed it from the project for that exact reason some time ago (were coloring diff using it)
We could look into writing a custom yaml highlighter some day
Version: Version, | ||
Repositories: []Repo{{ | ||
Name: "stable", | ||
URL: "https://kubernetes-charts.storage.googleapis.com", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we want this? Being deprecated soon?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently it's the primary source of truth. Soon is not yet deprecated :)
We will remove as soon as deprecated
Adds a new
tk tool charts
command, which enables declarativemanagement of vendored Helm charts.
As proposed by
https://docs.google.com/document/d/171F0cm_VliMStmHe6oy5pAbuXihr-7Cb5yD-vmwqpP8,
Helm Charts should be vendored by the individual library that consumes
them.
To simplify this process,
tk tool charts
provides a declarative configfile to automate
helm pull
.The rest of above document will be implemented in subsequent pull requests