Giter Site home page Giter Site logo

chartify's Introduction

Go Report Card Build Status codecov Docker Pulls Slack Twitter

Kubepack

Configure Helm

helm repo add kubepack-bundles https://bundles.kubepack.com
helm repo add stable https://kubernetes-charts.storage.googleapis.com
helm repo update

Generate Test Bundles

$ go run cmd/bundle-generator/main.go --name=csi-vault-bundle --charts https://charts.appscode.com/stable/@[email protected]

$ go run cmd/bundle-generator/main.go --name=vault-operator-bundle \
  --charts https://charts.appscode.com/stable/@[email protected] \
  --charts https://charts.appscode.com/stable/@[email protected] \
  --bundles https://bundles.kubepack.com@[email protected]

$ go run cmd/bundle-generator/main.go --name=stash-mongodb-bundle \
  --charts https://charts.appscode.com/stable/@[email protected]:true,3.6.13:true,4.0.11:true,4.1.13:true@required@anyof

$ go run cmd/bundle-generator/main.go --name=stash-bundle \
  --charts https://bundles.kubepack.com@[email protected] \
  --bundles https://bundles.kubepack.com@[email protected]

# $ go run cmd/bundle-generator/main.go --name=cert-manager-bundle --charts https://charts.jetstack.io@[email protected]@@@cert-manager

$ go run cmd/bundle-generator/main.go --name=kubedb-bundle \
  --charts https://charts.appscode.com/stable/@[email protected] \
  --charts https://charts.appscode.com/stable/@[email protected] \
  --charts https://charts.jetstack.io@[email protected]@optional@@cert-manager \
  --bundles https://bundles.kubepack.com@[email protected]

$ ./hack/publish-testcharts.sh

Generate BundleView from a Bundle

$ go run cmd/bundleview-generator/main.go

Generate Order from a BundleView

$ go run cmd/order-generator/main.go

Generate Application from a selected Chart in an Order

$ go run cmd/app-generator/main.go

Generate PackageView for a Chart

$ go run cmd/packageview-generator/main.go

Generate Install scripts

Site for Hosting User YAMLs & Scripts

https://usercontent.kubepack.com. These files are public and hosted on Google Cloud Storage Bucket gs://usercontent.kubepack.com.

Helm 3

$ go run cmd/helm3-command-generator/main.go

Helm 2

$ go run cmd/helm2-command-generator/main.go

YAML

$ go run cmd/install-yaml-generator/main.go

Check Permission

$ go run cmd/permission-checker/main.go

Install / Uninstall Chart

$ go run cmd/install-order/main.go
$ go run cmd/uninstall-order/main.go

Read Helm Hub index to determine Chart Repository Name

$ go run cmd/helm-hub-reader/main.go

chartify's People

Contributors

mstryoda avatar saumanbiswas avatar tamalsaha avatar yadavnikhil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chartify's Issues

Value conversion error for fields

Hi

I am evaluating your code to convert my kubernetes yml to helm.
Working good, but few issues:

  1. When converting, for Deployment Template spec, in ImagePullSecrets, in the output file, the "name" is converted to "Name". "n" to uppercase: for which helm fails.
    imagePullSecrets:
    • Name: my-pull-secret

I've few more issues, which i was able to fix in my local fork.

Is this repo still active? i will open a PR for few changes.

Deployments support

We're moving to helm and it'd be useful if we could chartify our deployments. I've solved it for the mean time by using replicasets to generate the charts and then editing them.

This is an awesome project, and I'd happily try adding deployments support.

Is there a reason this hasn't been added yet?

Otherwise I'll try make a PR this weekend.

Support new api versions

In Kube 1.6,

  • Deployments changed from extensions/v1beta1 to apps/v1beta1.
  • Jobs changes from v1alpha2 -> v1

These needs to be supported.

Ingress

May you please add the functionality of adding Ingress yaml file. As I have got this error Ingress is not supported. Please add manually.

Add Support for HorizontalPodAutoscaler

While creating helm chart for kubespec having "HorizontalPodAutoscaler" , getting below exception
HorizontalPodAutoscaler is not supported. Please add manually.

Retrieve resource types from the cluster instead of hard coding them

As a developer who works across a number of different Kubernetes cluster from a number of different vendors, and as a developer using Operators in K8s; I would like to have a way to convert existing resources of types not currently defined in this application.

For example, if using the Strimzi Operator for deploying Kafka clusters, I would want to be able to extract, templatize, and convert to a chart the Custom Resource Definitions for Strimzi.

type KubeObjects struct {

Dynamic selector in service

While creating charts, some labels are added dynamically. In the selector of service It need to be detected. It can be done by identifying those labels from the objects at the time of modifying the labels.

Configuration being overridden

I haven't worked on a simple reproduction, but it seems like you have services and replicasets with the same names, then the service config replaced the replicaset config in my values.yaml

Flag input parameter to preserve resources name in output

Can we have some flag to pass to Chartify, which can bypass name change for resources?

Ex.
--preserve-name true - will not change resources name in output. will be same as input.
It will solve most of the scenarios when working with secret combinations & local registry.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.