Skip to content

Commit

Permalink
Add type for additional_set variable. Update chart version.
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdantverdyi committed Mar 17, 2023
1 parent fc5429f commit a15dd3c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ module "nginx-controller" {

| Name | Version |
|------|----------|
| terraform | >= 1.0.0 |
| terraform | >= 1.3.0 |
| helm | >= 2.5.0 |

## Kubernetes version: `>=1.19`
14 changes: 11 additions & 3 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ variable "namespace" {
variable "chart_version" {
type = string
description = "HELM Chart Version for nginx controller"
default = "4.4.2"
default = "4.5.2"
}

variable "atomic" {
Expand Down Expand Up @@ -100,8 +100,16 @@ variable "create_namespace" {
}

variable "additional_set" {
description = "Add additional set for helm"
default = []
description = "Optional set for additional helm settings"
type = set(
object(
{
name = string
value = string
type = optional(string)
}
)
)
}

variable "wait" {
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.0.0"
required_version = ">= 1.3.0"

required_providers {
helm = ">= 2.5.0"
Expand Down

0 comments on commit a15dd3c

Please sign in to comment.