helm-stack

module
Version: v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2020 License: Apache-2.0

README

helm-stack

CI Build PkgGoDev GoReportCard codecov

Stack your cluster deployments the easy way

Config

All configration files provided to helm-stack will be merged, please make sure there are no duplicate items in your configuration files

  • For file based config: Please refer to .helm-stack.yaml for example
  • For directory based config: Please refer to .helm-stack for example

NOTE: helm-stack by default will try to read configuration files in .helm-stack and helm-stack.yaml, but if you have provided any -c or --config flag, helm-stack will not use these default config files.

Workflow

TL;DR: template-kubernetes-cluster contains a complete cluster management workflow

  1. Define your charts and deployment environments in a yaml/json config file or using multiple yaml/json config files (in the same parent directory)
  2. Run helm-stack ensure to ensure charts and values files
  3. Update yaml values files in <environments-dir>/<environment-name> according to your deployments requirements
  4. After several updates, there may be some charts unused, you can remove these charts and related values file with helm-stack clean
  5. Run helm-stack gen to generate kubernetes manifests
  6. Run helm-stack apply to deploy manifests to your environment

Please refer to .helm-stack for config structure

Build

make helm-stack

Install

Install helm-stack to ${GOPATH}/bin/helm-stack

GOOS=$(go env GOHOSTOS) GOARCH=$(go env GOHOSTARCH) go install ./cmd/helm-stack

LICENSE

Copyright 2020 The arhat.dev Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Directories

Path Synopsis
cmd
pkg
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL