From 05525679f145c9f1935874683d660d27fb01d982 Mon Sep 17 00:00:00 2001 From: vimal-knoldus Date: Wed, 4 Oct 2023 10:39:48 +0530 Subject: [PATCH] Revert key vault changes --- admin-service/azure-deploy-service.yaml | 5 +---- admin-service/src/main/resources/application-cosmos.yml | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/admin-service/azure-deploy-service.yaml b/admin-service/azure-deploy-service.yaml index f2486f50..c26ffcda 100644 --- a/admin-service/azure-deploy-service.yaml +++ b/admin-service/azure-deploy-service.yaml @@ -22,10 +22,7 @@ spec: protocol: TCP env: - name: COSMOS_KEY - valueFrom: - secretKeyRef: - name: ntdemokeyvault - key: COSMOS-KEY + value: IfSwYCdJNGer4D50MjuL74MTP1dzbNcQyKJ62mqxzruLfiAniOkW3QXFxsMhcEkNjyQMMN6oT6QRACDblrDAFQ== - name: COSMOS_URI value: https://az-nashtech-db.documents.azure.com:443/ - name: KAFKA_SERVER diff --git a/admin-service/src/main/resources/application-cosmos.yml b/admin-service/src/main/resources/application-cosmos.yml index 06935de5..4a95d5ef 100644 --- a/admin-service/src/main/resources/application-cosmos.yml +++ b/admin-service/src/main/resources/application-cosmos.yml @@ -1,5 +1,5 @@ cosmosdb: - key: ${COSMOS-KEY} + key: ${COSMOS_KEY} uri: ${COSMOS_URI} name: az-nashtech-db container-name: az-car-collection