Giter Site home page Giter Site logo

jbouyoud / helm-config-scheme Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 1.0 853 KB

Repeatable configuration scheme for Helm Charts

License: Apache License 2.0

Shell 96.48% Batchfile 3.13% Ruby 0.39%
helm chart helm-charts helm-plugin helm-plugins configuration-scheme helm-config-scheme configuration configuration-management

helm-config-scheme's Introduction

helm-config-scheme

CI codecov License Current Release Production Ready GitHub issues GitHub pull requests

Repeatable configuration scheme for Helm Charts

Usage

Define a new configuration scheme

Define a configuration scheme for your chart installation

helm config-scheme add my-scheme scheme-file

where scheme-file can be :

/config-path/default/values.yaml
secrets:///config-path/default/secrets.yaml
git+https://github.com/jBouyoud/helm-config-scheme@p/config-path/values.yaml?ref=master

Use your configured configuration scheme for your Chart operations

Run helm commands with a config-scheme

helm upgrade name . -f config-scheme://my-scheme

wich is equivalent to (if all scheme files exists)

helm upgrade name . -f /config-path/default/values.yaml -f secrets:///config-path/default/secrets.yaml -f git+https://github.com/jBouyoud/helm-config-scheme@p/config-path/values.yaml?ref=master

See: USAGE.md for more information

Installation

Using Helm plugin manager

# Install a specific version (recommend)
helm plugin install https://github.com/jBouyoud/helm-config-scheme --version v3.3.0

# Install latest unstable version from main branch
helm plugin install https://github.com/jBouyoud/helm-config-scheme

Find the latest version here: https://github.com/jBouyoud/helm-config-scheme/releases

Manual installation

Latest version

# Windows (inside cmd, needs to be verified)
curl -LsSf https://github.com/jBouyoud/helm-config-scheme/releases/latest/download/helm-config-scheme.tar.gz | tar -C "%APPDATA%\helm\plugins" -xzf-

# MacOS
curl -LsSf https://github.com/jBouyoud/helm-config-scheme/releases/latest/download/helm-config-scheme.tar.gz | tar -C "$HOME/Library/helm/plugins" -xzf-

# Linux
curl -LsSf https://github.com/jBouyoud/helm-config-scheme/releases/latest/download/helm-config-scheme.tar.gz | tar -C "$HOME/.local/share/helm/plugins" -xzf-

Specific version

# Windows (inside cmd, needs to be verified)
curl -LsSf https://github.com/jBouyoud/helm-config-scheme/releases/download/v1.0.0/helm-secrets.tar.gz | tar -C "%APPDATA%\helm\plugins" -xzf-

# MacOS
curl -LsSf https://github.com/jBouyoud/helm-config-scheme/releases/download/v1.0.0/helm-secrets.tar.gz | tar -C "$HOME/Library/helm/plugins" -xzf-

# Linux
curl -LsSf https://github.com/jBouyoud/helm-config-scheme/releases/download/v1.0.0/helm-secrets.tar.gz | tar -C "$HOME/.local/share/helm/plugins" -xzf-

Helm 2

Helm 2 is not support. Please consider upgrading to Helm 3+.

Moving parts of project

  • scripts/run.sh - Main helm-config-scheme plugin code for all helm-config-scheme plugin actions available in helm config-scheme help after plugin install
  • scripts/lib - Location of libraries functions used by multiple commands
  • scripts/commands - Sub Commands of helm config-scheme are defined here.
  • tests - Test scripts to check if all parts of the plugin work. See tests/README.md for more information.

Copyright and license

© 2020 Julien Bouyoud (jBouyoud)

Licensed under the Apache License, Version 2.0

helm-config-scheme's People

Contributors

dependabot[bot] avatar jbdelpech avatar jbouyoud avatar semantic-release-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

procorners

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.