helm-stack

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