Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jul 23, 2024
1 parent 2eb3a3f commit 53842a8
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 8 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ have a istio proxy configured, prevent communication with that pod.)
configuration of which identities are allowed to call services, and
which services are allowed to interact with other services.

# CHANGELOG

* 1.0.2 -- 2024-07-22
- updated istio chart/app to 1.22.3
- add force_delete and lifecycle policies to copy_images
- updated version.tf to 1.0.2
- included module.images in depends on helm charts
- created changelog

## Requirements

| Name | Version |
Expand Down Expand Up @@ -69,4 +78,3 @@ have a istio proxy configured, prevent communication with that pod.)
| Name | Source | Version |
|------|--------|---------|
| <a name="module_images"></a> [images](#module\_images) | git@github.e.it.census.gov:terraform-modules/aws-ecr-copy-images.git/ | 2.0.2 |

7 changes: 5 additions & 2 deletions copy_images.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ locals {
}

module "images" {
source = "git@github.e.it.census.gov:terraform-modules/aws-ecr-copy-images.git/?ref=2.0.2"
source = "git@github.e.it.census.gov:terraform-modules/aws-ecr-copy-images.git/?ref=tf-upgrade"

profile = var.profile
application_name = var.cluster_name
Expand All @@ -41,5 +41,8 @@ module "images" {
region = var.region
## source_password = ""
## source_username = ""
}

enable_lifecycle_policy = true
lifecycle_policy_all = true
force_delete = true
}
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ data "kubernetes_service" "apiserver" {
}

resource "helm_release" "base" {
depends_on = [module.images]
chart = "base"
name = "istio-base"
namespace = kubernetes_namespace.ns.metadata[0].name
Expand Down Expand Up @@ -181,4 +182,3 @@ resource "helm_release" "egress" {
value = "ClusterIP"
}
}

5 changes: 2 additions & 3 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 All @@ -61,4 +61,3 @@ variable "enable_egress_gateway" {
type = bool
default = true
}

2 changes: 1 addition & 1 deletion version.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
locals {
_module_name = "tfmod-istio"
_module_version = "1.0.1"
_module_version = "1.0.2"
}

0 comments on commit 53842a8

Please sign in to comment.