Skip to content

cloud-labs-infra/terraform-helm-release

Repository files navigation

Terraform Helm Release module

Requirements

Name Version
terraform ~> 1.7
helm 2.9.0

Providers

Name Version
helm 2.9.0

Modules

No modules.

Resources

Name Type
helm_release.main resource

Inputs

Name Description Type Default Required
atomic If set, installation process purges chart on fail bool false no
chart Chart name to be installed string n/a yes
chart_version Specify the exact chart version to install string n/a yes
cleanup_on_fail Allow deletion of new resources created in this upgrade when upgrade fails bool false no
create_namespace Create the namespace if it does not yet exist bool false no
description Set release description attribute (visible in the history) string null no
disable_openapi_validation If set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema bool false no
disable_webhooks Prevent hooks from running bool false no
force_update Force resource update through delete/recreate if needed bool false no
lint Run the helm chart linter during the plan bool false no
max_history Maximum number of release versions stored per release, 0 - no limit number 0 no
name Release name string n/a yes
namespace The namespace to install the release into string n/a yes
postrender Configure a command to run after helm renders the manifest which can alter the manifest contents
object({
binary_path = string
args = optional(string)
})
{
"binary_path": null
}
no
recreate_pods Perform pods restart during upgrade/rollback bool false no
render_subchart_notes If set, render subchart notes along with the parent bool true no
replace Re-use the given name, only if that name is a deleted release which remains in the history bool false no
repository Repository URL where to locate the requested chart string n/a yes
reset_values When upgrading, reset the values to the ones built into the chart bool false no
reuse_values When upgrading, reuse the last release's values and merge in any overrides (if 'reset_values' is specified, this is ignored) bool false no
set Value block with custom values to be merged with the values yaml map(string) {} no
set_sensitive Value block with custom sensitive values to be merged with the values yaml that won't be exposed in the plan's diff map(string) {} no
skip_crds If set, no CRDs will be installed bool false no
timeout Time in seconds to wait for any individual kubernetes operation number 300 no
values List of values in raw yaml to pass to helm list(string) [] no
wait Will wait until all resources are in a ready state before marking the release as successful, it will wait for as long as 'timeout' bool true no
wait_for_jobs If wait is enabled, will wait until all Jobs have been completed before marking the release as successful, it will wait for as long as timeout bool false no

Outputs

Name Description
app_version The version number of the application being deployed
chart The name of the chart
name Name is the name of the release
namespace Namespace is the kubernetes namespace of the release
revision Version is an int32 which represents the version of the release
values The compounded values from 'values' and 'set*' attributes
version A SemVer 2 conformant version string of the chart

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages