Table of contents generated with markdown-toc
Here's the gist of using it via github.
data helm_repository stable {
name = "stable"
url = "https://kubernetes-charts.storage.googleapis.com"
}
module jenkins {
source = "terraform-module/release/helm"
version = "2.6.0"
namespace = "app-namespace"
repository = data.helm_repository.stable.metadata[0].name
app = {
name = "jenkins"
version = "1.5.0"
chart = "jenkins"
force_update = true
wait = false
recreate_pods = false
deploy = 1
}
values = [templatefile("jenkins.yml", {
region = var.region
storage = "4Gi"
})]
set = [
{
name = "labels.kubernetes\\.io/name"
value = "jenkins"
},
{
name = "service.labels.kubernetes\\.io/name"
value = "jenkins"
},
]
set_sensitive = [
{
path = "master.adminUser"
value = "jenkins"
},
]
}
Name | Version |
---|---|
terraform | >= 0.12 |
helm | >= 1.1 |
Name | Version |
---|---|
helm | >= 1.1 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
app | an application to deploy | map |
n/a | yes |
namespace | namespace where to deploy an application | string |
n/a | yes |
repository | Helm repository | string |
n/a | yes |
set | Value block with custom STRING values to be merged with the values yaml. | list(object({ |
null |
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. | list(object({ |
null |
no |
values | Extra values | list(string) |
[] |
no |
No output.
$ make help
hooks Commit hooks setup
validate Validate with pre-commit hooks
changelog Update changelog
kubectl get serviceaccount <name> -o yaml
kubectl get clusterrolebinding <name> -o yaml
kubectl get deploy <name> -o yaml
- π Use a succinct title and description.
- π Bugs & feature requests can be be opened
- πΆ Support questions are better asked on Stack Overflow
- π Be nice, civil and polite (as always).
Copyright 2019 Ivan Katliarhcuk
MIT Licensed. See LICENSE for full details.
Submit a pull request
Currently maintained by Ivan Katliarchuk and these awesome contributors.