From c63874ad3878715d3ab1c5942cbb6a582c92bdef Mon Sep 17 00:00:00 2001 From: Bohdan Tverdyi Date: Tue, 2 Nov 2021 17:13:54 +0200 Subject: [PATCH] Update documentation #3 #4 --- README.md | 15 +++++++++++++++ versions.tf | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b69e111..8a859f3 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,21 @@ Terraform module used to create Cert Manager in Kubernetes, with auto http valid ## Usage +### You should to add into your terraform, `kubectl` provider configuration: +```terraform +provider "kubectl" { + # Same config as on kubernetes provider +} +terraform { + required_providers { + kubectl = { + source = "gavinbunney/kubectl" + version = "1.13.0" + } + } +} +``` + #### To activate TLS auto generation, please add this annotation to ingress: cert-manager.io/cluster-issuer = module.cert_manager.cluster_issuer_name diff --git a/versions.tf b/versions.tf index 36ec758..16f5e31 100644 --- a/versions.tf +++ b/versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { kubectl = { source = "gavinbunney/kubectl" - version = "~> 1.11.1" + version = ">= 1.13.0" } kubernetes = { source = "hashicorp/kubernetes"