diff --git a/README.md b/README.md index 10fc74d..22feca2 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ Full contributing guidelines are covered [here](CONTRIBUTING.md). | Name | Version | |------|---------| -| [helm](#provider\_helm) | 2.5.1 | +| [helm](#provider\_helm) | 2.4.1 | ## Modules @@ -81,7 +81,7 @@ No modules. | [build\_job\_run\_container\_as\_user](#input\_build\_job\_run\_container\_as\_user) | SecurityContext: runAsUser for all running job pods | `string` | `null` | no | | [build\_job\_secret\_volumes](#input\_build\_job\_secret\_volumes) | Secret volume configuration instructs Kubernetes to use a secret that is defined in Kubernetes cluster and mount it inside of the containes as defined https://docs.gitlab.com/runner/executors/kubernetes.html#secret-volumes |
object({
name = string
mount_path = string
read_only = string
items = map(string)
})
|
{
"items": {},
"mount_path": null,
"name": null,
"read_only": null
}
| no | | [cache](#input\_cache) | Describes the properties of the cache. type can be either of ['local', 'gcs', 's3', 'azure'], path defines a path to append to the bucket url, shared specifies whether the cache can be shared between runners. you also specify the individual properties of the particular cache type you select. see https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runnerscache-section |
object({
type = string
path = string
shared = bool
gcs = map(any)
s3 = map(any)
azure = map(any)
})
|
{
"azure": {},
"gcs": {},
"path": "",
"s3": {},
"shared": false,
"type": "local"
}
| no | -| [chart\_version](#input\_chart\_version) | The version of the chart | `string` | `"0.36.0"` | no | +| [chart\_version](#input\_chart\_version) | The version of the chart | `string` | `"0.40.1"` | no | | [concurrent](#input\_concurrent) | Configure the maximum number of concurrent jobs | `number` | `10` | no | | [create\_namespace](#input\_create\_namespace) | (Optional) Create the namespace if it does not yet exist. Defaults to false. | `bool` | `true` | no | | [create\_service\_account](#input\_create\_service\_account) | If true, the service account, it's role and rolebinding will be created, else, the service account is assumed to already be created | `bool` | `true` | no | diff --git a/local.tf b/local.tf index 11f47e8..f9bee04 100644 --- a/local.tf +++ b/local.tf @@ -13,4 +13,4 @@ locals { gcs = local.gcs_secret_name } cache_secret_name = lookup(local.cache_secret_config, var.cache.type, "") -} \ No newline at end of file +} diff --git a/main.tf b/main.tf index 211e904..79c927c 100644 --- a/main.tf +++ b/main.tf @@ -9,10 +9,8 @@ resource "helm_release" "gitlab_runner" { create_namespace = var.create_namespace atomic = var.atomic - values = [ yamlencode({ - image = var.runner_image gitlabUrl = var.gitlab_url concurrent = var.concurrent @@ -22,7 +20,6 @@ resource "helm_release" "gitlab_runner" { unregisterRunners = var.unregister_runners secrets = var.additional_secrets - runners = { name = var.runner_name runUntagged = var.run_untagged_jobs diff --git a/variables.tf b/variables.tf index 5c7095a..c0a5c97 100644 --- a/variables.tf +++ b/variables.tf @@ -33,7 +33,7 @@ variable "service_account_clusterwide_access" { variable "chart_version" { description = "The version of the chart" - default = "0.36.0" + default = "0.40.1" } variable "runner_registration_token" { @@ -227,7 +227,6 @@ variable "runner_token" { default = null } - variable "cache" { description = "Describes the properties of the cache. type can be either of ['local', 'gcs', 's3', 'azure'], path defines a path to append to the bucket url, shared specifies whether the cache can be shared between runners. you also specify the individual properties of the particular cache type you select. see https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runnerscache-section" type = object({