Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openinfradev/kustomize-helm-transformer
Kustomize Plugin to transform values in HelmRelease CR
https://github.com/openinfradev/kustomize-helm-transformer
decapod helm helm-operator kustomize kustomize-plugin
Last synced: 26 days ago
JSON representation
Kustomize Plugin to transform values in HelmRelease CR
- Host: GitHub
- URL: https://github.com/openinfradev/kustomize-helm-transformer
- Owner: openinfradev
- License: apache-2.0
- Created: 2020-06-04T04:50:55.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-16T08:58:06.000Z (about 2 months ago)
- Last Synced: 2024-10-18T03:16:06.362Z (about 2 months ago)
- Topics: decapod, helm, helm-operator, kustomize, kustomize-plugin
- Language: Go
- Homepage:
- Size: 136 KB
- Stars: 14
- Watchers: 16
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: docs/code_of_conduct.md
Awesome Lists containing this project
README
# kustomize-helm-transformer
HelmValuesTransformer is a Kustomize Plugin to transform values in `HelmRelease` CustomResource.
It helps to manage a lot of HelmRelease's value in single transformer file.
Please take a look at the [example](https://github.com/openinfradev/kustomize-helm-transformer/tree/master/examples/helmvalues)## Documents
* [Quick Start](docs/quickstart.md)
* [Contribution](docs/contribution.md)
* [CI Pipeline](docs/ci.md)## Support
* kustomize v4.2.0
* go 1.16.15## Features
1. Replaced values of HelmRelease CustomResource using inline path
2. Replaced Chart Source of HelmRelease CustomResource## Example
### Source HelmRelease
```
apiVersion: helm.fluxcd.io/v1
kind: HelmRelease
metadata:
name: prometheus
spec:
chart:
repository: https://prometheus-community.github.io/helm-charts
name: kube-prometheus-stack
version: 14.5.0
type: helmrepo
releaseName: prometheus
targetNamespace: lma
values:
conf:
ceph:
admin_keyring: TO_BE_FIXED
enabled: false
```
### Transformer Configuration
```
apiVersion: openinfradev.github.com/v1
kind: HelmValuesTransformer
metadata:
name: site
global:
docker_registry: registry.cicd.stg.taco
charts:
- name: prometheus
source:
repository: [email protected]:helm/charts
version: master
name: charts/stable/prometheus-operator
type: git
override:
conf.ceph.admin_keyring: abcde
conf.ceph.enabled: true
```
### Result
```
apiVersion: helm.fluxcd.io/v1
kind: HelmRelease
metadata:
name: prometheus
spec:
chart:
repository: [email protected]:helm/charts
version: master
name: charts/stable/prometheus-operator
type: git
releaseName: prometheus
targetNamespace: lma
values:
conf:
ceph:
admin_keyring: abcde
enabled: true
```