diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index fa8feda1f..634d6e1f1 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,6 +1,9 @@ Release Notes ============= +## 1.9.15 +* ACA: Add required namespace field to sbus scale rule + ## 1.9.14 * VMSS, AKS, Azure Firewall, Managed Clusters (AKS): Adds `pick_zones` to let ARM select the availability zones. * AKS: Remove deprecated `docker_bridge` from Container Services (AKS). diff --git a/src/Farmer/Arm/App.fs b/src/Farmer/Arm/App.fs index dcb613cc6..ac87b533d 100644 --- a/src/Farmer/Arm/App.fs +++ b/src/Farmer/Arm/App.fs @@ -381,6 +381,7 @@ type ContainerApp = { metadata = {| queueName = settings.QueueName messageCount = string settings.MessageCount + ``namespace`` = settings.Namespace |} auth = [| {| diff --git a/src/Farmer/Common.fs b/src/Farmer/Common.fs index ff00ef2ea..1536e9218 100644 --- a/src/Farmer/Common.fs +++ b/src/Farmer/Common.fs @@ -4026,6 +4026,7 @@ module ContainerApp = type ServiceBusScaleRule = { QueueName: string + Namespace: string MessageCount: int SecretRef: string } diff --git a/src/Tests/ContainerApps.fs b/src/Tests/ContainerApps.fs index 1cb78c9be..b99e22f33 100644 --- a/src/Tests/ContainerApps.fs +++ b/src/Tests/ContainerApps.fs @@ -117,6 +117,7 @@ let fullContainerAppDeployment = QueueName = "wishrequests" MessageCount = 5 SecretRef = "servicebusconnectionkey" + Namespace = "servicebus" } } containerApp {