Code Monkey home page Code Monkey logo

chartify's Introduction

Website โ€ข Slack โ€ข Twitter

chartify

Generate Helm Charts from Kubernetes api objects

Installation

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.

chartify's People

Contributors

mstryoda avatar saumanbiswas avatar tamalsaha avatar yadavnikhil avatar

Watchers

 avatar

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.