diff --git a/CHANGELOG.md b/CHANGELOG.md index dfa2f83..66dc982 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,13 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). --- +## [0.2.0] - 2023-12-05 + +### Changed + +- `annotations-prefix` removed from values file. +- `values.yaml` moved into `files` directory. + ## [0.1.0] - 2023-12-04 - First release. \ No newline at end of file diff --git a/examples/main.tf b/examples/main.tf index 1b8a3d4..0abae6f 100644 --- a/examples/main.tf +++ b/examples/main.tf @@ -1,9 +1,8 @@ module "ingress_nginx" { - source = "../" - chart_version = "4.8.3" - namespace = "ingress-nginx" - host = "https://test" - cluster_ca_certificate = base64decode("certificate") - token = "token" - namespace_lifecycle_ignore_changes = ["test"] + source = "../" + chart_version = "4.8.3" + namespace = "ingress-nginx" + host = "https://test" + cluster_ca_certificate = base64decode("certificate") + token = "token" } diff --git a/values.yaml b/files/values.yaml similarity index 93% rename from values.yaml rename to files/values.yaml index a368e1a..d434ddb 100644 --- a/values.yaml +++ b/files/values.yaml @@ -14,8 +14,6 @@ controller: maxReplicas: 3 targetCPUUtilizationPercentage: 80 targetMemoryUtilizationPercentage: 80 - extraArgs: - annotations-prefix: ingress.kubernetes.io config: body-size: "0" hsts-include-subdomains: "true" diff --git a/main.tf b/main.tf index ed6f117..f4c95d3 100644 --- a/main.tf +++ b/main.tf @@ -28,7 +28,7 @@ resource "helm_release" "this" { namespace = var.create_namespace ? kubernetes_namespace_v1.this[0].metadata[0].name : data.kubernetes_namespace_v1.this[0].metadata[0].name values = concat( - [file("${path.module}/values.yaml")], + [file("${path.module}/files/values.yaml")], var.additional_values ) }