-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding annotation to index.yaml file
Chart.yaml files have an annotation field that allow a chart to have custom information similar to the way Kubernetes annotations work. In an index.yaml file each chart version can have annotations in a similar manner to the Chart.yaml file. It is derived from the same underlying struct. These enable extension points where people can add their own info. One thing missing is the ability to extend the top level of an index file. This change adds annotations to the top level of an index.yaml file. This would provide top level support for vendors to extent index.yaml files. Closes helm#8767 Signed-off-by: Matt Farina <matt@mattfarina.com>
- Loading branch information
1 parent
423396c
commit 90d079a
Showing
3 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
apiVersion: v1 | ||
entries: | ||
nginx: | ||
- urls: | ||
- https://kubernetes-charts.storage.googleapis.com/nginx-0.2.0.tgz | ||
name: nginx | ||
description: string | ||
version: 0.2.0 | ||
home: https://github.com/something/else | ||
digest: "sha256:1234567890abcdef" | ||
keywords: | ||
- popular | ||
- web server | ||
- proxy | ||
- urls: | ||
- https://kubernetes-charts.storage.googleapis.com/nginx-0.1.0.tgz | ||
name: nginx | ||
description: string | ||
version: 0.1.0 | ||
home: https://github.com/something | ||
digest: "sha256:1234567890abcdef" | ||
keywords: | ||
- popular | ||
- web server | ||
- proxy | ||
alpine: | ||
- urls: | ||
- https://kubernetes-charts.storage.googleapis.com/alpine-1.0.0.tgz | ||
- http://storage2.googleapis.com/kubernetes-charts/alpine-1.0.0.tgz | ||
name: alpine | ||
description: string | ||
version: 1.0.0 | ||
home: https://github.com/something | ||
keywords: | ||
- linux | ||
- alpine | ||
- small | ||
- sumtin | ||
digest: "sha256:1234567890abcdef" | ||
chartWithNoURL: | ||
- name: chartWithNoURL | ||
description: string | ||
version: 1.0.0 | ||
home: https://github.com/something | ||
keywords: | ||
- small | ||
- sumtin | ||
digest: "sha256:1234567890abcdef" | ||
annotations: | ||
helm.sh/test: foo bar |