Terraform module for deploying Helm's Tiller on you k8s cluster.
provider "kubernetes" {
config_context_auth_info = "ops"
config_context_cluster = "mycluster"
}
module "tiller"{
source = "Vidimensional/tiller/kubernetes"
version = "0.0.1"
tiller_name = "tiller-mynamespace"
tiller_namespace = "mynamespace"
}
The following arguments are supported:
-
tiller_name: (optional) Name of the objects associated with Tiller. (default: tiller)
-
tiller_namespace: (optional) Namespace where to deploy Tiller. (default: kube-system)
-
tiller_version: (optional) Tiller version to install. Use
canary
for using the canary image. (default: v2.12.3) -
tiller_history_max: (optional) The maximum number of revisions saved per release. Use 0 for no limit. (default: 0)
-
tiller_replicas: Amount of tiller instances to run on the cluster. (default: 1)
-
tiller_service_account: Define it if you want to use an already existing ServiceAccount. If you leave it undefined the module will create a ServieAccount for Tiller.
The next steps on this project includes adding options that allows helm init
command.