Skip to content

Commit

Permalink
feat: bump chart version
Browse files Browse the repository at this point in the history
  • Loading branch information
MeNsaaH committed May 5, 2022
1 parent e82cce1 commit dc8bdb0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Full contributing guidelines are covered [here](CONTRIBUTING.md).

| Name | Version |
|------|---------|
| <a name="provider_helm"></a> [helm](#provider\_helm) | 2.5.1 |
| <a name="provider_helm"></a> [helm](#provider\_helm) | 2.4.1 |

## Modules

Expand Down Expand Up @@ -81,7 +81,7 @@ No modules.
| <a name="input_build_job_run_container_as_user"></a> [build\_job\_run\_container\_as\_user](#input\_build\_job\_run\_container\_as\_user) | SecurityContext: runAsUser for all running job pods | `string` | `null` | no |
| <a name="input_build_job_secret_volumes"></a> [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 | <pre>object({<br> name = string<br> mount_path = string<br> read_only = string<br> items = map(string)<br> })</pre> | <pre>{<br> "items": {},<br> "mount_path": null,<br> "name": null,<br> "read_only": null<br>}</pre> | no |
| <a name="input_cache"></a> [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 | <pre>object({<br> type = string<br> path = string<br> shared = bool<br> gcs = map(any)<br> s3 = map(any)<br> azure = map(any)<br> })</pre> | <pre>{<br> "azure": {},<br> "gcs": {},<br> "path": "",<br> "s3": {},<br> "shared": false,<br> "type": "local"<br>}</pre> | no |
| <a name="input_chart_version"></a> [chart\_version](#input\_chart\_version) | The version of the chart | `string` | `"0.36.0"` | no |
| <a name="input_chart_version"></a> [chart\_version](#input\_chart\_version) | The version of the chart | `string` | `"0.40.1"` | no |
| <a name="input_concurrent"></a> [concurrent](#input\_concurrent) | Configure the maximum number of concurrent jobs | `number` | `10` | no |
| <a name="input_create_namespace"></a> [create\_namespace](#input\_create\_namespace) | (Optional) Create the namespace if it does not yet exist. Defaults to false. | `bool` | `true` | no |
| <a name="input_create_service_account"></a> [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 |
Expand Down
2 changes: 1 addition & 1 deletion local.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ locals {
gcs = local.gcs_secret_name
}
cache_secret_name = lookup(local.cache_secret_config, var.cache.type, "")
}
}
3 changes: 0 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 1 addition & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down Expand Up @@ -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({
Expand Down

0 comments on commit dc8bdb0

Please sign in to comment.