Skip to content

Instantly share code, notes, and snippets.

@michelleN
Last active May 6, 2016 20:15
Show Gist options
  • Save michelleN/002c799026e90bdfb8d27f47557c1223 to your computer and use it in GitHub Desktop.
Save michelleN/002c799026e90bdfb8d27f47557c1223 to your computer and use it in GitHub Desktop.
example of cache file
This is what a cache file will look like:
Under the name-version key, we'll specificy a url to actually download the chart,
a created timestamp, a removed boolean field, and a dump of the Chart.yaml file which includes the keywords.
You can use the keywords and the name fields for the search command.
Cache files are currently located under HELM_HOME/cache and named in the repoName-cache.yaml format.
FYI: The directory structure under helm home will change so that the directory is safe for people who are migrating
from the old helm tool. The new structure will look like this HELM_HOME/repository/cache/ (I'm moving all of
the stuff in HELM_HOME currently under a directory called `repository`.)
nginx-0.1.0:
url: http://storage.googleapis.com/kubernetes-charts/nginx-0.1.0.tgz
created: `timestamp`
removed: bool
name: nginx
description: string
version: 0.1.0
home: https://github.com/something
keywords:
- popular
- web server
- proxy
alpine-1.0.0
url: http://storage.googleapis.com/kubernetes-charts/alpine-1.0.0.tgz
created: `timestamp`
removed: bool
name: alpine
description: string
version: 1.0.0
home: https://github.com/something
keywords:
- linux
- alpine
- headache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment