Code Monkey home page Code Monkey logo

generic-app-helm's Introduction

Generic App Helm Chart

This is a helm chart for a generic Kubernetes Application.

TLDR

helm repo add generic-app https://small-hack.github.io/generic-app-helm
helm install generic-app/generic-app --generate-name

Why?

Because sometimes you don't want to write a whole helm chart for a simple app. The default chart generated with helm create my-new-chart-name is pretty good, but it's missing a couple of features. This chart can be used as a base chart for that docker container you have that you want on Kubernetes, but don't feel like writing a helm chart to make it accessible to others. Now you have no excuse :) Tip: Use this as a cheap way to get going with Argo CD Applications/ApplicationSets faster.

How?

Because this chart is basically just the stock helm chart, you can use it like any other. It defaults to just deploying the nginx container, but you can change that. In fact, you can change basically everything. We even let you disable the default service, and have an option to deploy a Job instead of (or in addition to) a Deployment.

Changing the default deployment

Here's how to get started using your own docker container

deployment:
  image:
    # -- provide this only if you're not hosting on hub.docker.com (docker.io)
    registry: ""
    # -- this can be set to any docker repo
    repository: "mydockercontainer"
    # -- docker image tag to pull
    tag: "latest"

Disabling the deployment

Sometimes you just need a job...

deployment:
  enabled: false

Enabling a job

job:
  enabled: true
  image:
    # -- provide this only if you're not hosting on hub.docker.com (docker.io)
    registry: ""
    # -- this can be set to any docker repo
    repository: "mydockercontainer"
    # -- docker image tag to pull
    tag: "latest"

Enabling the ingress

ingress:
  enabled: true

Disabling the service

service:
  enabled: false

Tips

Want to deploy on Argo CD? Checkout our example ApplicationSet.

Status

Submit any PRs you may have and please feel free to submit issues if you have a generic feature :P

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.