Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kubepack/chartify
📈 Generate Helm Charts from Kubernetes objects
https://github.com/kubepack/chartify
helm kubernetes
Last synced: 5 days ago
JSON representation
📈 Generate Helm Charts from Kubernetes objects
- Host: GitHub
- URL: https://github.com/kubepack/chartify
- Owner: kubepack
- License: apache-2.0
- Created: 2016-11-23T13:37:21.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-02-19T11:32:29.000Z (over 4 years ago)
- Last Synced: 2024-08-02T12:23:59.784Z (3 months ago)
- Topics: helm, kubernetes
- Language: Go
- Homepage:
- Size: 5.35 MB
- Stars: 225
- Watchers: 20
- Forks: 25
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cloud-native - charitify - Generate Helm Charts from Kubernetes objects. (Application Delivery)
README
[Website](https://appscode.com) • [Slack](https://slack.appscode.com) • [Twitter](https://twitter.com/AppsCodeHQ)
# chartify
Generate Helm Charts from Kubernetes api objects## Installation
```go
go get -u kubepack.dev/chartify
```## Usage
You can provide Kubernetes objects as YAML/JSON files in a directory using --kube-dir flag. Or, you can read Kubernetes
objects from a cluster. Chartify will read objects from the current context of your local kubeconfig file.You can use this as a standalone cli or a Helm plugin.
```
chartify create NAME [FLAGS]
```### Options
```
--chart-dir string Specify the location where charts will be created (default "charts")
--configmaps stringSlice Specify the names of configmaps(configmap@namespace) to include in chart
--daemons stringSlice Specify the names of daemons(daemon@namespace) to include in chart
--deployments stringSlice Specify the names of deployments(deployments@namespace) to include in chart
--jobs stringSlice Specify the names of jobs(job@namespace) to include in chart
--kube-dir string Specify the directory of the yaml files for Kubernetes objects
--pods stringSlice Specify the names of pods(pod@namespace) to include in chart
--pvcs stringSlice Specify the names of persistent volume claims(pvc@namespace) to include in chart
--pvs stringSlice Specify the names of persistent volumes(pv@namespace) to include in chart
--rcs stringSlice Specify the names of replication cotrollers(rc@namespace) to include in chart
--replicasets stringSlice Specify the names of replica sets(rs@namespace) to include in chart
--secrets stringSlice Specify the names of secrets(secret@namespace) to include in chart
--services stringSlice Specify the names of services(service@namespace) to include in chart
--statefulsets stringSlice Specify the names of statefulsets(statefulset@namespace) to include in chart
--storageclasses stringSlice Specify the names of storageclasses(storageclass@namespace) to include in chart
--preserve-name bool Specify if you want to preserve resources name from input yaml true/false (default: false)
```### Issues
Please file an issue if you think you've found a bug. Be sure to describe
* How can it be reproduced?
* What did you expect?
* What actually occurred?
* Kubernetes version, Helm version, Go version, platform, etc. if possibly relevant.