Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
101d0bd8
Commit
101d0bd8
authored
Mar 29, 2016
by
vaikas-google
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add an example for pushing charts with gsutil
parent
b51c3a8e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
0 deletions
+64
-0
pushing_charts.md
docs/pushing_charts.md
+64
-0
No files found.
docs/pushing_charts.md
0 → 100644
View file @
101d0bd8
# Pushing Charts
This details the current requirements and steps for pushing a chart to
Google Cloud Storage (GCS) using gsutil tool.
## Prerequisites
In order to create and push a Chart, you must:
*
have a bucket in GCS with write permissions
*
have
[
gsutil
](
https://cloud.google.com/storage/docs/gsutil
)
tool configured and installed
## Creating a chart (optional)
If you already have a
[
chart
](
./design/chart_format.md
)
in the file system format, you can
skip this step.
./bin/helm chart create mychart
This will create the following directory structure:
vaikas@vaikas-glaptop:~/projects/dmos/src/github.com/kubernetes/helm$ find mychart
mychart
mychart/Chart.yaml
mychart/hooks
mychart/templates
mychart/docs
You can then create your own chart (examples/charts has examples to get you started)
## Serializing the chart
Helm tool can package a chart for you in the correct format and with name that
matches the version in the Chart.yaml file.
```
./bin/helm chart package <yourchart>
```
Using one of the examples
[
nginx
](
examples/charts/nginx/Chart.yaml
)
```
./bin/helm chart package examples/charts/nginx
```
The resulting file will be nginx-0.0.1.tgz
## Pushing the chart
Using gsutil you can copy this file to your bucket with the following command:
```
gsutil cp <yourchart> gs://<yourbucket>/
```
or if you want to make this chart publicly readable:
```
gsutil cp -a public-read <yourchart> gs://<yourbucket>/
```
To handle more granular permissions, use the 'gsutil help acls' command.
Using the example above, you could make this publicy readable by doing:
```
gsutil cp -a public-read nginx-0.0.1.tgz gs://<yourbucket>/
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment