From 3ae028573a3bff9af819ddc26e6ae20ba83bef19 Mon Sep 17 00:00:00 2001 From: nbucci Date: Tue, 5 Dec 2023 11:41:39 +0100 Subject: [PATCH] remove helm provider config --- CHANGELOG.md | 8 ++++++++ README.md | 3 --- examples/main.tf | 3 --- providers.tf | 7 ------- variables.tf | 15 --------------- 5 files changed, 8 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 08fd73f..13c8176 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,14 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). --- +## [0.2.1] - 2023-12-05 + +[Compare with previous version](https://github.com/sparkfabrik/terraform-helm-ingress-nginx/compare/0.2.0...0.2.1) + +### Changed + +- Removed `helm` provider config and variables. + ## [0.2.0] - 2023-12-05 [Compare with previous version](https://github.com/sparkfabrik/terraform-helm-ingress-nginx/compare/0.1.0...0.2.0) diff --git a/README.md b/README.md index d7af6f1..69ca719 100644 --- a/README.md +++ b/README.md @@ -25,13 +25,10 @@ This is Terraform module to install and configure the Nginx Ingress Controller. |------|-------------|------|---------|:--------:| | [additional\_values](#input\_additional\_values) | Additional values to pass to the helm chart | `list(string)` | `[]` | no | | [chart\_version](#input\_chart\_version) | Chart version of the ingress controller | `string` | n/a | yes | -| [cluster\_ca\_certificate](#input\_cluster\_ca\_certificate) | PEM-encoded root certificates bundle for TLS authentication | `string` | n/a | yes | | [create\_namespace](#input\_create\_namespace) | Create namespace for the ingress controller. If false, the namespace must be created before using this module | `bool` | `true` | no | | [helm\_release\_name](#input\_helm\_release\_name) | Name of the helm release | `string` | `"ingress-nginx"` | no | -| [host](#input\_host) | The hostname (in form of URI) of Kubernetes master | `string` | n/a | yes | | [namespace](#input\_namespace) | Namespace of the ingress controller | `string` | n/a | yes | | [namespace\_additional\_labels](#input\_namespace\_additional\_labels) | Additional labels for the namespace of the ingress controller | `map(string)` | `{}` | no | -| [token](#input\_token) | Token to authenticate a service account | `string` | n/a | yes | ## Outputs diff --git a/examples/main.tf b/examples/main.tf index 0abae6f..cf54ab4 100644 --- a/examples/main.tf +++ b/examples/main.tf @@ -2,7 +2,4 @@ module "ingress_nginx" { source = "../" chart_version = "4.8.3" namespace = "ingress-nginx" - host = "https://test" - cluster_ca_certificate = base64decode("certificate") - token = "token" } diff --git a/providers.tf b/providers.tf index fd6e6bb..5a729f1 100644 --- a/providers.tf +++ b/providers.tf @@ -12,10 +12,3 @@ terraform { } } } -provider "helm" { - kubernetes { - host = var.host - cluster_ca_certificate = var.cluster_ca_certificate - token = var.token - } -} diff --git a/variables.tf b/variables.tf index 8cfd89d..8b98c8f 100644 --- a/variables.tf +++ b/variables.tf @@ -20,21 +20,6 @@ variable "namespace_additional_labels" { default = {} } -variable "host" { - description = "The hostname (in form of URI) of Kubernetes master" - type = string -} - -variable "cluster_ca_certificate" { - description = "PEM-encoded root certificates bundle for TLS authentication" - type = string -} - -variable "token" { - description = "Token to authenticate a service account" - type = string -} - variable "additional_values" { description = "Additional values to pass to the helm chart" type = list(string)