helm:
cli:
namespace: bitops
timeout: 60s
set:
- "key1=value1"
- "key2=value2"
debug: false
atomic: true
force: true
dry-run: true
options:
skip-deploy: false
release-name: bitops-release
uninstall-charts: "chart1,chart2"
kubeconfig:
path: ./path/to/kubeconfig
fetch:
enabled: true
cluster-name: my-cluster
plugins:
- BitOps Property:
namespace
- Environment Variable:
NAMESPACE
- default:
""
- required: yes
namespace scope for this request
- BitOps Property:
timeout
- Environment Variable:
TIMEOUT
- default:
"500s"
time to wait for any individual Kubernetes operation (like Jobs for hooks)
- BitOps Property:
set
- Environment Variable:
HELM_SET_FLAG
- default:
{}
list of "key=value" strings to pass in to helm
via --set
- BitOps Property:
debug
- Environment Variable:
HELM_DEBUG
- default:
""
enable verbose helm output
- BitOps Property:
atomic
- Environment Variable:
TODO
- default:
""
if set, the installation process deletes the installation on failure
- BitOps Property:
force
- Environment Variable:
TODO
- default:
""
sets helm's --force
flag
- BitOps Property:
dry-run
- Environment Variable:
TODO
- default:
""
simulate an install
- BitOps Property:
skip-deploy
- Environment Variable:
SKIP_DEPLOY
- default:
""
will skip helm execution
- BitOps Property:
release-name
- Environment Variable:
HELM_RELEASE_NAME
- default:
""
sets helm release name
- BitOps Property:
uninstall
- Environment Variable:
HELM_UNINSTALL
- default:
""
If true, this chart will be uninstalled instead of deployed/upgraded. If the environment variable HELM_UNINSTALL
is passed in to the container, all BitOps managed charts for a given environment will be uninstalled.
- BitOps Property:
kubeconfig
configure cluster access. Has the following child-properties. Should provide one of path
or fetch
. Defaults to fetch
- BitOps Property:
kubeconfig.path
- Environment Variable:
KUBE_CONFIG_PATH
- default:
""
relative file path to .kubeconfig file
- BitOps Property:
kubeconfig.fetch
fetch kubeconfig using cloud provider auth
- BitOps Property:
kubeconfig.fetch.enabled
- Environment Variable:
FETCH_KUBECONFIG
- default:
true
enables/disables kubeconfig.fetch
- BitOps Property:
kubeconfig.fetch.cluster-name
- Environment Variable:
CLUSTER_NAME
- default:
""
cloud kubernetes cluster name for kubeconfig fetching.
This section of bitops.config.yml
is unique to helm and allows the customization of helm plugins
- BitOps Property:
s3
Configure helm s3 plugin with the following properties
- BitOps Property:
s3.region
- Environment Variable:
HELM_PLUGIN_S3_REGION
AWS region containing s3 bucket
- BitOps Property:
s3.bucket
- Environment Variable:
HELM_CHARTS_S3_BUCKET
AWS s3 bucket name
Although not captured in bitops.config.yml
, the following environment variables can be set to further customize behaviour
Will skill all helm executions. This superseeds all other configuration
Comma separated string. If any of the charts to be deployed match one of the chart names listed here, it will be uninstalled with helm uninstall $HELM_RELEASE_NAME
instead of deployed/upgraded.