Skip to content

Commit

Permalink
feat: add namespace to helm deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldotyu committed Feb 16, 2024
1 parent 2a50337 commit c3f1178
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions azd-hooks/predeploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ az aks get-credentials --resource-group ${AZURE_RESOURCEGROUP_NAME} --name ${AZU
echo "Deploy Helm chart"
cmd="helm upgrade aks-store-demo ./charts/aks-store-demo \
--install \
--namespace ${AZURE_AKS_NAMESPACE} \
--create-namespace \
--set aiService.image.repository=${AZURE_REGISTRY_URI}/aks-store-demo/ai-service \
--set orderService.image.repository=${AZURE_REGISTRY_URI}/aks-store-demo/order-service \
--set makelineService.image.repository=${AZURE_REGISTRY_URI}/aks-store-demo/makeline-service \
Expand Down
2 changes: 1 addition & 1 deletion infra/terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ variable "openai_model_capacity" {
variable "k8s_namespace" {
description = "value of kubernetes namespace"
type = string
default = "default"
default = "pets"
}

variable "cosmosdb_account_kind" {
Expand Down

0 comments on commit c3f1178

Please sign in to comment.