Skip to content

Commit

Permalink
PLAT-5749 external-dns, update chart, renaming flag
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelhar committed Oct 27, 2022
1 parent 54528b8 commit 70948a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion submodules/network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ No modules.

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_add_cluster_tag_to_subnet"></a> [add\_cluster\_tag\_to\_subnet](#input\_add\_cluster\_tag\_to\_subnet) | Toggle k8s cluster tag on subnet | `bool` | `true` | no |
| <a name="input_add_eks_elb_tags"></a> [add\_eks\_elb\_tags](#input\_add\_eks\_elb\_tags) | Toggle k8s cluster tag on subnet | `bool` | `true` | no |
| <a name="input_availability_zones"></a> [availability\_zones](#input\_availability\_zones) | List of availability zone names where the subnets will be created | `list(string)` | n/a | yes |
| <a name="input_cidr"></a> [cidr](#input\_cidr) | The IPv4 CIDR block for the VPC. | `string` | `"10.0.0.0/16"` | no |
| <a name="input_deploy_id"></a> [deploy\_id](#input\_deploy\_id) | Domino Deployment ID | `string` | `""` | no |
Expand Down
4 changes: 2 additions & 2 deletions submodules/network/subnets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ resource "aws_subnet" "public" {
availability_zone = each.value.az
vpc_id = local.vpc_id
cidr_block = each.value.cidr
tags = var.add_cluster_tag_to_subnet ? {
tags = var.add_eks_elb_tags ? {
"Name" = each.value.name
"kubernetes.io/role/elb" = "1"
"kubernetes.io/cluster/${var.deploy_id}" = "shared"
Expand All @@ -43,7 +43,7 @@ resource "aws_subnet" "private" {
availability_zone = each.value.az
vpc_id = local.vpc_id
cidr_block = each.value.cidr
tags = var.add_cluster_tag_to_subnet ? {
tags = var.add_eks_elb_tags ? {
"Name" = each.value.name
"kubernetes.io/role/internal-elb" = "1"
"kubernetes.io/cluster/${var.deploy_id}" = "shared"
Expand Down
2 changes: 1 addition & 1 deletion submodules/network/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ variable "flow_log_bucket_arn" {
default = null
}

variable "add_cluster_tag_to_subnet" {
variable "add_eks_elb_tags" {
type = bool
description = "Toggle k8s cluster tag on subnet"
default = true
Expand Down

0 comments on commit 70948a1

Please sign in to comment.