From 35e28bb496dc67a9bb9a79d57a8472253200963d Mon Sep 17 00:00:00 2001 From: vimal-knoldus Date: Mon, 25 Sep 2023 18:50:23 +0530 Subject: [PATCH] Update azure yaml --- admin-service/azure-deploy-service.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/admin-service/azure-deploy-service.yaml b/admin-service/azure-deploy-service.yaml index 231a8562..74a250e4 100644 --- a/admin-service/azure-deploy-service.yaml +++ b/admin-service/azure-deploy-service.yaml @@ -20,6 +20,23 @@ spec: - name: http containerPort: 8080 protocol: TCP + env: + - name: COSMOS_KEY + value: xweJzyTINK8SotydeF3ZSg8cOO4e4wwW3J5UPV0isfRyBQXbGKioxFh3MnpzjuIwSwJJ6VCfviY9ACDbF7d0Wg== + - name: COSMOS_URI + value: https://az-nashtech-db.documents.azure.com:443/ + - name: KAFKA_SERVER + value: ntdemoevtnamespace.servicebus.windows.net:9093 + - name: KAFKA_SECURITY_PROTOCOL + value: SASL_SSL + - name: SASL_MECHANISM + value: PLAIN + - name: JASS_CONFIG + value: org.apache.kafka.common.security.plain.PlainLoginModule required username="$ConnectionString" password="Endpoint=sb://ntdemoevtnamespace.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=j6cNS3qEVLKyB7JgBofWKNGHxxQguJtge+AEhHcFBsA="; + - name: KEY_SERIALIZER + value: org.apache.kafka.common.serialization.StringSerializer + - name: VALUE_SERIALIZER + value: org.springframework.kafka.support.serializer.JsonSerializer --- apiVersion: v1 kind: Service