Skip to content

Commit

Permalink
Merge branch 'upgrade' into mcmCluster
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jul 27, 2024
2 parents 5d18718 + c4bd940 commit 0716fb4
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 10 deletions.
2 changes: 1 addition & 1 deletion copy_images.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module "images" {
## destination_password = ""
## destination_username = ""
## override_prefixes = {}
region = var.region
## region = var.region
## source_password = ""
## source_username = ""

Expand Down
2 changes: 1 addition & 1 deletion examples/simple/istio.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "eks-configuration" {
source = "git@github.it.census.gov:SOA/tfmod-istio.git//?ref=v1.0.1"
source = "../.."

region = var.region
profile = var.profile
Expand Down
4 changes: 2 additions & 2 deletions examples/simple/simple.auto.tfvars
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
region = "us-gov-east-1"
profile = "107742151971-do2-govcloud"
cluster_name = "adsd-cumulus-sandbox"
profile = "terraform"
cluster_name = "platform-test-1"

19 changes: 15 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ resource "helm_release" "istiod" {
}
set {
name = "global.proxy.image"
value = module.images.images[local.proxy_key].dest_repository
value = module.images.images[local.proxy_key].dest_full_path
}
set {
name = "global.proxy_init.image"
value = module.images.images[local.proxy_key].dest_repository
value = module.images.images[local.proxy_key].dest_full_path
}

set {
Expand Down Expand Up @@ -127,11 +127,18 @@ resource "helm_release" "ingress" {
name = "service.annotations.service\\.beta\\.kubernetes\\.io/aws-load-balancer-type"
value = "nlb"
}

set {
name = "service.annotations.service\\.beta\\.kubernetes\\.io/aws-load-balancer-additional-resource-tags"
value = join(",", [for key, value in local.tags : "${key}=${value}"])
name = "service.annotations.service\\.beta\\.kubernetes\\.io/aws-load-balancer-internal"
type = "string"
value = "true"
}

set {
name = "service.annotations.service\\.beta\\.kubernetes\\.io/aws-load-balancer-additional-resource-tags"
value = join("\\,", [for key, value in local.tags : "${key}=${value}"])
}

dynamic "set" {
for_each = local.ports

Expand Down Expand Up @@ -164,6 +171,8 @@ resource "helm_release" "ingress" {
value = set.value.port
}
}

timeout = 90
}

resource "helm_release" "egress" {
Expand All @@ -181,4 +190,6 @@ resource "helm_release" "egress" {
name = "service.type"
value = "ClusterIP"
}

timeout = 90
}
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ variable "tags" {
variable "istio_chart_version" {
description = "The version of istio to install into the cluster."
type = string
default = "1.18.2"
default = "1.22.3"
}

# The `APP VERSION` of the output found while determining the chart version
variable "istio_version" {
description = "The version of istio to install into the cluster."
type = string
default = "1.18.2"
default = "1.22.3"
}

variable "enable_telemetry" {
Expand Down

0 comments on commit 0716fb4

Please sign in to comment.