Skip to content

Commit

Permalink
Update documentation #3 #4
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdantverdyi committed Nov 2, 2021
1 parent fc491eb commit c63874a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
kubectl = {
source = "gavinbunney/kubectl"
version = "~> 1.11.1"
version = ">= 1.13.0"
}
kubernetes = {
source = "hashicorp/kubernetes"
Expand Down

0 comments on commit c63874a

Please sign in to comment.