https://github.com/rockops/rockvalues
https://github.com/rockops/rockvalues
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/rockops/rockvalues
- Owner: rockops
- License: apache-2.0
- Created: 2025-07-25T22:26:08.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-11-14T07:12:53.000Z (8 months ago)
- Last Synced: 2025-11-14T09:15:54.216Z (8 months ago)
- Language: Shell
- Size: 12.5 MB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rock Values :guitar:
Helm plugin to fetch resources from a helm chart
Supports the following syntax :
## Get a resource from the chart beeing installed
- chart://path/to/file.yaml => gets the file path/to/file.yaml in the chart being installed
#### Example
```
helm install myservice -f chart://values-dev.yaml myrepo/my-chart --version 1.0.2
```
gets the file "values-dev.yaml" from the current chart, myrepo/my-chart in version 1.0.2
### Dependency management
If the chart being installed has dependencies, the plugin will automatically create an aggregated values file.
#### Example
- Suppose we are installing a chart "chart1", with a file "values-dev.yaml"
- The chart1 has a dependency called "chart2"
- The chart "chart2" has also a file "values-dev.yaml"
When you install chart1 with the option -f chart://values-dev.yaml, the plugin will return a values file as the following:
```
chart2:
```
## Get a resource from another chart
- chart://path/to/file.yaml@repo/chartname[:version] => gets the file path/to/file.yaml from the chart chartname
- "chart" is a chart pulled from the helm repo "repo"
- "version" is the version to pull (optional)
### Example
```
helm install myservice -f chart://values-dev.yaml@config/common-conf:1.0.0 myrepo/my-chart --version 1.0.2
```
gets the file "values-dev.yaml" from the chart myrepo/my-chart in version 1.0.0
`Note`: in this case, the chart "athena/common-conf" is NOT installed. It is just pulled to extract the config file.