From a42b2107e1368a95244b859e319d71243c591709 Mon Sep 17 00:00:00 2001 From: Jianguo Ma Date: Wed, 26 Jun 2024 17:55:56 +0800 Subject: [PATCH] workaround issue #13 Signed-off-by: Jianguo Ma --- .../README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/spring/09-build-a-spring-ai-application-using-azure-openai/README.md b/spring/09-build-a-spring-ai-application-using-azure-openai/README.md index bbfe37e..e3c32be 100644 --- a/spring/09-build-a-spring-ai-application-using-azure-openai/README.md +++ b/spring/09-build-a-spring-ai-application-using-azure-openai/README.md @@ -227,8 +227,12 @@ az containerapp create \ --min-replicas 1 \ --ingress external \ --target-port 8080 \ - --secrets azureopenaikey=$AZURE_OPENAI_KEY \ - --env-vars SPRING_AI_AZURE_OPENAI_ENDPOINT=$AZURE_OPENAI_ENDPOINT \ + --secrets azureopenaikey=$AZURE_OPENAI_KEY + +az containerapp update \ + --name ai-weather-application \ + --resource-group $RESOURCE_GROUP \ + --set-env-vars SPRING_AI_AZURE_OPENAI_ENDPOINT=$AZURE_OPENAI_ENDPOINT \ SPRING_AI_AZURE_OPENAI_API_KEY=secretref:azureopenaikey cd .. ```