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
a8b95ca1
Commit
a8b95ca1
authored
Dec 16, 2017
by
Gergo Huszty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Downloader plugin documentation added.
parent
188964c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
plugins.md
docs/plugins.md
+26
-0
No files found.
docs/plugins.md
View file @
a8b95ca1
...
@@ -118,6 +118,32 @@ There are some strategies for working with plugin commands:
...
@@ -118,6 +118,32 @@ There are some strategies for working with plugin commands:
Helm will use `
usage
` and `
description
` for `
helm help
` and `
helm help myplugin
`,
Helm will use `
usage
` and `
description
` for `
helm help
` and `
helm help myplugin
`,
but will not handle `
helm myplugin --help
`.
but will not handle `
helm myplugin --help
`.
## Downloader Plugins
By default, Helm is able to fetch Charts using HTTP/S. As of Helm 2.4.0, plugins
can have a special capability to download Charts from arbitrary sources.
Plugins shall declare this special capability in the `
plugin.yaml
` file (top level):
```
downloaders:
- command: "bin/mydownloader"
protocols:
- "myprotocol"
- "myprotocols"
```
If such plugin is installed, Helm can interact with the repository using the specified
protocol scheme by invoking the `
command
`. The special repository shall be added
similarily to the regular ones: `
helm repo add favorite myprotocol://example.com/
`
The rules for the special repos are the same to the regular ones: Helm must be able
to download the `
index.yaml
` file in order to discover and cache the list of
available Charts.
The defined command will be invoked with the following scheme:
`
command certFile keyFile caFile full-URL
`. The SSL credentials are coming from the
repo definition, stored in `
$HELM_HOME/repository/repositories.yaml
`. Downloader
plugin is expected to dump the raw content to stdout and report errors on stderr.
## Environment Variables
## Environment Variables
When Helm executes a plugin, it passes the outer environment to the plugin, and
When Helm executes a plugin, it passes the outer environment to the plugin, and
...
...
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