From f59868f8bcbf6377e015a2462c23c53485cd39a6 Mon Sep 17 00:00:00 2001 From: Kristina Devochko Date: Wed, 3 Apr 2024 11:04:59 +0200 Subject: [PATCH] chore: rollback to default aca-helloworld revisions Signed-off-by: Kristina Devochko --- .../modules/aca-public-apps.bicep | 4 ++-- .../parameters/dev.bicepparam | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/aca-revision-and-traffic-management/modules/aca-public-apps.bicep b/aca-revision-and-traffic-management/modules/aca-public-apps.bicep index 1d25314..9d5f116 100644 --- a/aca-revision-and-traffic-management/modules/aca-public-apps.bicep +++ b/aca-revision-and-traffic-management/modules/aca-public-apps.bicep @@ -21,7 +21,7 @@ resource helloworld 'Microsoft.App/containerApps@2023-05-02-preview' = { external: true targetPort: 80 transport: 'http' - clientCertificateMode: 'accept' + clientCertificateMode: 'ignore' traffic: trafficDistribution } activeRevisionsMode: 'Multiple' @@ -39,7 +39,7 @@ resource helloworld 'Microsoft.App/containerApps@2023-05-02-preview' = { env: [ { name: 'TITLE' - value: 'Hello World from Azure Container Apps (ACA) V2!' + value: 'Hello World from Azure Container Apps (ACA)!' } ] probes: [ diff --git a/aca-revision-and-traffic-management/parameters/dev.bicepparam b/aca-revision-and-traffic-management/parameters/dev.bicepparam index bba7906..82b613c 100644 --- a/aca-revision-and-traffic-management/parameters/dev.bicepparam +++ b/aca-revision-and-traffic-management/parameters/dev.bicepparam @@ -11,12 +11,12 @@ param tags = { param trafficDistribution = [ { latestRevision: true - weight: 50 + weight: 100 } - { - revisionName: 'aca-hello-world--oca537w' + /*{ + revisionName: '' weight: 50 - } + }*/ ] // Command to get revision names: az containerapp revision list --name aca-hello-world --resource-group rg-aca-helloworld-neu-dev --query [].name -o tsv