github.com/felipejfc/helm@v2.1.2+incompatible/docs/helm/helm_dependency.md (about) 1 ## helm dependency 2 3 manage a chart's dependencies 4 5 ### Synopsis 6 7 8 9 Manage the dependencies of a chart. 10 11 Helm charts store their dependencies in 'charts/'. For chart developers, it is 12 often easier to manage a single dependency file ('requirements.yaml') 13 which declares all dependencies. 14 15 The dependency commands operate on that file, making it easy to synchronize 16 between the desired dependencies and the actual dependencies stored in the 17 'charts/' directory. 18 19 A 'requirements.yaml' file is a YAML file in which developers can declare chart 20 dependencies, along with the location of the chart and the desired version. 21 For example, this requirements file declares two dependencies: 22 23 # requirements.yaml 24 dependencies: 25 - name: nginx 26 version: "1.2.3" 27 repository: "https://example.com/charts" 28 - name: memcached 29 version: "3.2.1" 30 repository: "https://another.example.com/charts" 31 32 The 'name' should be the name of a chart, where that name must match the name 33 in that chart's 'Chart.yaml' file. 34 35 The 'version' field should contain a semantic version or version range. 36 37 The 'repository' URL should point to a Chart Repository. Helm expects that by 38 appending '/index.yaml' to the URL, it should be able to retrieve the chart 39 repository's index. Note: 'repository' cannot be a repository alias. It must be 40 a URL. 41 42 43 ### Options inherited from parent commands 44 45 ``` 46 --debug enable verbose output 47 --home string location of your Helm config. Overrides $HELM_HOME (default "/Users/mattbutcher/Code/helm_home") 48 --host string address of tiller. Overrides $HELM_HOST 49 --kube-context string name of the kubeconfig context to use 50 ``` 51 52 ### SEE ALSO 53 * [helm](helm.md) - The Helm package manager for Kubernetes. 54 * [helm dependency build](helm_dependency_build.md) - rebuild the charts/ directory based on the requirements.lock file 55 * [helm dependency list](helm_dependency_list.md) - list the dependencies for the given chart 56 * [helm dependency update](helm_dependency_update.md) - update charts/ based on the contents of requirements.yaml 57 58 ###### Auto generated by spf13/cobra on 1-Nov-2016