Commit 11d4a67a authored by Matt Butcher's avatar Matt Butcher

docs(repo): update repo index docs to show new flags

This adds the `--url` flag to examples.

Closes #1343
parent fe0957d7
...@@ -124,7 +124,7 @@ $ mv alpine-0.1.0.tgz fantastic-charts/ ...@@ -124,7 +124,7 @@ $ mv alpine-0.1.0.tgz fantastic-charts/
Outside of your directory, run the `helm repo index [DIR] [URL]` command. This command takes the path of the local directory that you just created and the URL of your remote chart repository and composes an index.yaml file inside the given directory path. Outside of your directory, run the `helm repo index [DIR] [URL]` command. This command takes the path of the local directory that you just created and the URL of your remote chart repository and composes an index.yaml file inside the given directory path.
```console ```console
$ helm repo index fantastic-charts https://storage.googleapis.com/fantastic-charts $ helm repo index fantastic-charts --url https://storage.googleapis.com/fantastic-charts
``` ```
Now, you can upload the chart and the index file to your chart repository using a sync tool or manually. If you're using Google Cloud Storage, check out this [example workflow](chart_repository_sync_example.md) using the gsutil client. Now, you can upload the chart and the index file to your chart repository using a sync tool or manually. If you're using Google Cloud Storage, check out this [example workflow](chart_repository_sync_example.md) using the gsutil client.
......
...@@ -19,7 +19,7 @@ $ mv alpine-0.1.0.tgz fantastic-charts/ ...@@ -19,7 +19,7 @@ $ mv alpine-0.1.0.tgz fantastic-charts/
Use helm to generate an updated index.yaml file by passing in the directory path and the url of the remote repository to the `helm repo index` command like this: Use helm to generate an updated index.yaml file by passing in the directory path and the url of the remote repository to the `helm repo index` command like this:
```console ```console
$ helm repo index fantastic-charts/ https://storage.googleapis.com/fantastic-charts $ helm repo index fantastic-charts/ --url https://storage.googleapis.com/fantastic-charts
``` ```
This will generate an updated index.yaml file and place in the `fantastic-charts/` directory. This will generate an updated index.yaml file and place in the `fantastic-charts/` directory.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment