Skip to content

Commit

Permalink
🐛 fix(variables): add istio_namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Oct 10, 2024
1 parent 95e2784 commit bfc3d03
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ No modules.
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name) | EKS cluster name name component used through out the EKS cluster describing its purpose (ex: dice-dev) | `string` | n/a | yes |
| <a name="input_istio_namespace"></a> [istio\_namespace](#input\_istio\_namespace) | The namespace to install the istio components. Defaults to 'istio-system' | `string` | `"istio-system"` | no |
| <a name="input_os_username"></a> [os\_username](#input\_os\_username) | OS username from environment variable, ideally as $USER | `string` | `null` | no |
| <a name="input_region"></a> [region](#input\_region) | AWS config region | `string` | `""` | no |
| <a name="input_region_map"></a> [region\_map](#input\_region\_map) | AWS region map | `map(string)` | <pre>{<br> "east": "us-gov-east-1",<br> "west": "us-gov-west-1"<br>}</pre> | no |
Expand Down
2 changes: 1 addition & 1 deletion aws_data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ data "aws_vpc" "dummy_vpc" {
data "kubernetes_service" "istio_ingressgateway" {
metadata {
name = "istio-ingressgateway"
namespace = "istio-system"
namespace = var.istio_namespace
}
}

Expand Down
5 changes: 5 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ variable "os_username" {
# DNS variables
###################################################################

variable "istio_namespace" {
description = "The namespace to install the istio components. Defaults to 'istio-system'"
type = string
default = "istio-system"
}

variable "region_map" {
description = "AWS region map"
Expand Down

0 comments on commit bfc3d03

Please sign in to comment.