From 34165728864898020cd82af650ee9ce9fc7fe115 Mon Sep 17 00:00:00 2001 From: Andrea Barchi Date: Fri, 2 Feb 2024 09:52:59 +0100 Subject: [PATCH] Fixed secrets --- helm/values-dev.yaml | 3 ++- helm/values-prod.yaml | 3 ++- helm/values-uat.yaml | 3 ++- src/main/resources/application.properties | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index aec0bfa..11b9e2f 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -36,7 +36,8 @@ microservice-chart: FDR_HISTORY_TABLE_STORAGE_CONN_STRING: "fdr-history-sa-table-storage-connection-string" FDR_HISTORY_PUBLISH_TABLE_STORAGE_TABLE_NAME: "fdr-history-sa-table-storage-publish-table-name" FDR_HISTORY_PAYMENT_PUBLISH_TABLE_STORAGE_TABLE_NAME: "fdr-history-sa-table-storage-payment-publish-table-name" - FDR_HISTORY_BLOB_STORAGE_CONN_STRING: "fdr-history-sa-blob-storage-connection-string" + BLOB_HISTORY_CONNECTION_STRING: "fdr-history-sa-connection-string" + TABLE_HISTORY_CONNECTION_STRING: "fdr-history-sa-connection-string" keyvault: name: "pagopa-d-fdr-kv" tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d" diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index c19356a..e8bf9ff 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -36,7 +36,8 @@ microservice-chart: FDR_HISTORY_TABLE_STORAGE_CONN_STRING: "fdr-history-sa-table-storage-connection-string" FDR_HISTORY_PUBLISH_TABLE_STORAGE_TABLE_NAME: "fdr-history-sa-table-storage-publish-table-name" FDR_HISTORY_PAYMENT_PUBLISH_TABLE_STORAGE_TABLE_NAME: "fdr-history-sa-table-storage-payment-publish-table-name" - FDR_HISTORY_BLOB_STORAGE_CONN_STRING: "fdr-history-sa-blob-storage-connection-string" + BLOB_HISTORY_CONNECTION_STRING: "fdr-history-sa-connection-string" + TABLE_HISTORY_CONNECTION_STRING: "fdr-history-sa-connection-string" keyvault: name: "pagopa-p-fdr-kv" tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d" diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index d53cb3f..f43c686 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -37,7 +37,8 @@ microservice-chart: FDR_HISTORY_TABLE_STORAGE_CONN_STRING: "fdr-history-sa-table-storage-connection-string" FDR_HISTORY_PUBLISH_TABLE_STORAGE_TABLE_NAME: "fdr-history-sa-table-storage-publish-table-name" FDR_HISTORY_PAYMENT_PUBLISH_TABLE_STORAGE_TABLE_NAME: "fdr-history-sa-table-storage-payment-publish-table-name" - FDR_HISTORY_BLOB_STORAGE_CONN_STRING: "fdr-history-sa-blob-storage-connection-string" + BLOB_HISTORY_CONNECTION_STRING: "fdr-history-sa-connection-string" + TABLE_HISTORY_CONNECTION_STRING: "fdr-history-sa-connection-string" keyvault: name: "pagopa-u-fdr-kv" tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d" diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 123e82f..7157b31 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -118,7 +118,7 @@ quarkus.log.category."it.gov.pagopa.fdrtechsupport".level=DEBUG ############## # HISTORY ############## -fdr-history-table-storage.connection-string=${FDR_HISTORY_TABLE_STORAGE_CONN_STRING:${mockserver.azurite.connection-string}} +fdr-history-table-storage.connection-string=${TABLE_HISTORY_CONNECTION_STRING:${mockserver.azurite.connection-string}} fdr-history-publish-table-storage.table-name=${FDR_HISTORY_PUBLISH_TABLE_STORAGE_TABLE_NAME:fdrpublish} fdr-history-payment-publish-table-storage.table-name=${FDR_HISTORY_PAYMENT_PUBLISH_TABLE_STORAGE_TABLE_NAME:fdrpaymentpublish} -fdr-history-blob-storage.connection-string=${FDR_HISTORY_BLOB_STORAGE_CONN_STRING:${mockserver.azurite.connection-string}} \ No newline at end of file +fdr-history-blob-storage.connection-string=${BLOB_HISTORY_CONNECTION_STRING:${mockserver.azurite.connection-string}} \ No newline at end of file