From 914f9bde014310be82787fe68fa9cf4f2b9cf75f Mon Sep 17 00:00:00 2001 From: umbcoppolabottazzi Date: Mon, 2 Dec 2024 16:14:25 +0100 Subject: [PATCH] add gpd debt positions key & config maps --- src/06_domains/cittadini-app/04_k8s_configmaps.tf | 1 + src/06_domains/cittadini-app/99_variables.tf | 7 ++++++- src/06_domains/cittadini-app/env/itn-dev/terraform.tfvars | 1 + src/06_domains/cittadini-app/env/itn-prod/terraform.tfvars | 1 + src/06_domains/cittadini-app/env/itn-uat/terraform.tfvars | 1 + .../secret/itn-prod/noedit_secret_enc.json | 5 +++-- 6 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/06_domains/cittadini-app/04_k8s_configmaps.tf b/src/06_domains/cittadini-app/04_k8s_configmaps.tf index e952206..746c6e2 100644 --- a/src/06_domains/cittadini-app/04_k8s_configmaps.tf +++ b/src/06_domains/cittadini-app/04_k8s_configmaps.tf @@ -18,6 +18,7 @@ resource "kubernetes_config_map" "rest_client" { data = { pullpayment-base-url = var.gpd_payments_pull_base_url bizevents-paids-base-url = var.bizevents_paids_base_url + gpd-service-base-url = var.gpd_service_base_url } } diff --git a/src/06_domains/cittadini-app/99_variables.tf b/src/06_domains/cittadini-app/99_variables.tf index 721a61d..c56800c 100644 --- a/src/06_domains/cittadini-app/99_variables.tf +++ b/src/06_domains/cittadini-app/99_variables.tf @@ -69,6 +69,11 @@ variable "bizevents_paids_base_url" { description = "Url of pagopa bizevents paids api" } +variable "gpd_service_base_url" { + type = string + description = "Url of pagopa gpd service api" +} + # Domains variable "external_domain" { type = string @@ -90,4 +95,4 @@ variable "argocd_server_addr" { variable "alert_enabled" { type = bool -} \ No newline at end of file +} diff --git a/src/06_domains/cittadini-app/env/itn-dev/terraform.tfvars b/src/06_domains/cittadini-app/env/itn-dev/terraform.tfvars index fe63c6c..bc024d1 100644 --- a/src/06_domains/cittadini-app/env/itn-dev/terraform.tfvars +++ b/src/06_domains/cittadini-app/env/itn-dev/terraform.tfvars @@ -18,6 +18,7 @@ tags = { gpd_payments_pull_base_url = "https://api.dev.platform.pagopa.it/pagopa-gpd-payments-pull/v1" bizevents_paids_base_url = "https://api.dev.platform.pagopa.it/bizevents/notices-service/v1" +gpd_service_base_url = "https://api.dev.platform.pagopa.it/gpd/debt-positions-service/v1" ## Domains external_domain = "pagopa.it" diff --git a/src/06_domains/cittadini-app/env/itn-prod/terraform.tfvars b/src/06_domains/cittadini-app/env/itn-prod/terraform.tfvars index 011858f..2af868c 100644 --- a/src/06_domains/cittadini-app/env/itn-prod/terraform.tfvars +++ b/src/06_domains/cittadini-app/env/itn-prod/terraform.tfvars @@ -18,6 +18,7 @@ tags = { gpd_payments_pull_base_url = "https://api.platform.pagopa.it/pagopa-gpd-payments-pull/v1" bizevents_paids_base_url = "https://api.platform.pagopa.it/bizevents/notices-service/v1" +gpd_service_base_url = "https://api.platform.pagopa.it/gpd/debt-positions-service/v1" ## DNS dns_zone_prefix = "cittadini" diff --git a/src/06_domains/cittadini-app/env/itn-uat/terraform.tfvars b/src/06_domains/cittadini-app/env/itn-uat/terraform.tfvars index 83f20c0..c03c74a 100644 --- a/src/06_domains/cittadini-app/env/itn-uat/terraform.tfvars +++ b/src/06_domains/cittadini-app/env/itn-uat/terraform.tfvars @@ -18,6 +18,7 @@ tags = { gpd_payments_pull_base_url = "https://api.uat.platform.pagopa.it/pagopa-gpd-payments-pull/v1" bizevents_paids_base_url = "https://api.uat.platform.pagopa.it/bizevents/notices-service/v1" +gpd_service_base_url = "https://api.uat.platform.pagopa.it/gpd/debt-positions-service/v1" ## Domains external_domain = "pagopa.it" diff --git a/src/06_domains/cittadini-secrets/secret/itn-prod/noedit_secret_enc.json b/src/06_domains/cittadini-secrets/secret/itn-prod/noedit_secret_enc.json index 558f7b8..19c2f6e 100644 --- a/src/06_domains/cittadini-secrets/secret/itn-prod/noedit_secret_enc.json +++ b/src/06_domains/cittadini-secrets/secret/itn-prod/noedit_secret_enc.json @@ -11,6 +11,7 @@ "jwt-assistance-zendesk-private-key": "ENC[AES256_GCM,data:kBZR+wKBImzs0qYCs5yQvjrs22SBGuGnxvgep4lTjfJuZuliHYS2sUxXJqhZuWPA,iv:VXchG8K6l/U8D29RzMH6oZerI6OogDUVhKVJVhvnk30=,tag:0mpeSHS4UcLjPbHpaBcmGg==,type:str]", "pagopa-bizevents-paids-trx-apimv1-subscription-key": "ENC[AES256_GCM,data:T4JDY3rgRp82PzySoDPGRbLcQigLU5j7Sg318voQy0Y=,iv:ZisvdR5Zbk3L7I8HG3uokkq2SY087V3+z3yGQe1PePI=,tag:fiksFhBBnYkDLAxQKOV45Q==,type:str]", "pagopa-pullpayment-apimv1-subscription-key": "ENC[AES256_GCM,data:7QWx3KMZAoJBZWCSsCAR2RsH//2BISxdYK1UFE/nefM=,iv:zdWU+gEXvDLCJikgleC3U1ffklTzRVAFIjXUQLsNCy8=,tag:yMkxNEPTzUO6Tll+qbc9Dg==,type:str]", + "pagopa-gpd-debt-positions-apimv1-subscription-key": "ENC[AES256_GCM,data:cJK60iiePDHNJstZRktvjQuct9RQa3AIX+l8jv2XrB4=,iv:CeQRu2bR0VaZxmYdm1nvQuogExmoc2fXtrqzq5kKP8M=,tag:1EtiLZCVL0NuEYqcgGgwbw==,type:str]", "sops": { "kms": null, "gcp_kms": null, @@ -25,8 +26,8 @@ ], "hc_vault": null, "age": null, - "lastmodified": "2024-11-26T13:13:28Z", - "mac": "ENC[AES256_GCM,data:eWs/2fFMIdQv5pnqUbrVFVcQAgtmFkuuzMl+7+8sHTmcfD91Ta4tjuchKugt7WyIQt5sIk8+swNWNhfZWuugG54FJk+hBakiSjpwuJ/fmI63a4UW8shv1FQZPbj1VZ0uQAiJQOg0Rwh3v+fgvwfyfd8g2aTsH6ygBkwg2xh8ZzI=,iv:x6NUd30LczpPTnJ6F+pdyZGiVE3kFA8X+ClUxPwgYGM=,tag:taZkwiI1CpbdKUzPCTFeig==,type:str]", + "lastmodified": "2024-12-02T14:44:25Z", + "mac": "ENC[AES256_GCM,data:XXqWNkznqNosV72r5gZ2IIbU4P0C4f1JWsYa3/psaKnFTHWU8eJu20ACRazcv1ERS8XVLcskpa5SwF0gza/JpRYwliurGc0pQk0zXuxpoTDs7K+s1DMpOFUqYpr0rQm0daIRfCUwbnFmOSwZfNas3MhmIlZZmggGIdnm9DvJQPs=,iv:LUrrinvxFlVE0VA5XuWPzlj9sFyY81Yb+ykLClhZuGM=,tag:+pPfLLUtgNpNVTy4jutU0w==,type:str]", "pgp": null, "unencrypted_suffix": "_unencrypted", "version": "3.9.1"