Skip to content

Commit

Permalink
[PPANTT-216] fix version and removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
gioelemella committed Jan 8, 2025
1 parent 72b17d3 commit 2c93d6e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 59 deletions.
58 changes: 0 additions & 58 deletions src/domains/gps-app/06_aks_middleware_tools.tf
Original file line number Diff line number Diff line change
@@ -1,61 +1,3 @@
# module "tls_checker" {
# source = "./.terraform/modules/__v3__/tls_checker"
#
# https_endpoint = local.gps_hostname
# alert_name = local.gps_hostname
# alert_enabled = true
# helm_chart_present = true
# helm_chart_version = var.tls_cert_check_helm.chart_version
# namespace = kubernetes_namespace.namespace.metadata[0].name
# helm_chart_image_name = var.tls_cert_check_helm.image_name
# helm_chart_image_tag = var.tls_cert_check_helm.image_tag
# location_string = var.location_string
# application_insights_resource_group = data.azurerm_resource_group.monitor_rg.name
# application_insights_id = data.azurerm_application_insights.application_insights.id
# application_insights_action_group_ids = [data.azurerm_monitor_action_group.slack.id, data.azurerm_monitor_action_group.email.id]
# keyvault_name = data.azurerm_key_vault.gps_kv.name
# keyvault_tenant_id = data.azurerm_key_vault.gps_kv.tenant_id
# kv_secret_name_for_application_insights_connection_string = "ai-${var.env_short}-connection-string"
# }
#
# resource "helm_release" "cert_mounter" {
# name = "cert-mounter-blueprint"
# repository = "https://pagopa.github.io/aks-helm-cert-mounter-blueprint"
# chart = "cert-mounter-blueprint"
# version = "1.0.4"
# namespace = var.domain
# timeout = 120
# force_update = true
#
# values = [
# "${
# templatefile("${path.root}/helm/cert-mounter.yaml.tpl", {
# NAMESPACE = var.domain,
# DOMAIN = var.domain
# CERTIFICATE_NAME = replace(local.gps_hostname, ".", "-"),
# ENV_SHORT = var.env_short,
# })
# }"
# ]
# }
#
# resource "helm_release" "reloader" {
# name = "reloader"
# repository = "https://stakater.github.io/stakater-charts"
# chart = "reloader"
# version = "v1.0.48"
# namespace = kubernetes_namespace.namespace.metadata[0].name
#
# # enabled it if you remove accidentally reloader
# # force_update = true
#
# set {
# name = "reloader.watchGlobally"
# value = "false"
# }
# }


# WL-IDENTITY
# https://pagopa.atlassian.net/wiki/spaces/DEVOPS/pages/1227751458/Migrazione+pod+Identity+vs+workload+Identity#%F0%9F%94%AE-tls-cheker
module "tls_checker" {
Expand Down
2 changes: 1 addition & 1 deletion src/domains/gps-app/99_main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ terraform {
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "<= 2.11.0"
version = "<= 2.30.0"
}
null = {
source = "hashicorp/null"
Expand Down

0 comments on commit 2c93d6e

Please sign in to comment.