fix deployment?

This commit is contained in:
Chris Kruining 2024-11-18 10:13:51 +01:00
parent 216f813b8b
commit 10255b7c72
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
3 changed files with 23 additions and 4 deletions

View file

@ -15,6 +15,16 @@ resource environment 'Microsoft.App/managedEnvironments@2024-03-01' = {
appLogsConfiguration: {
destination: 'azure-monitor'
}
peerAuthentication: {
mtls: {
enabled: false
}
}
peerTrafficConfiguration: {
encryption: {
enabled: false
}
}
}
}
@ -55,7 +65,7 @@ resource app 'Microsoft.App/containerApps@2024-03-01' = {
registries: [
{
identity: 'system'
server: '${registry.properties.loginServer}@2023-07-01'
server: 'acreuwprdcalque.azurecr.io'
}
]
}
@ -63,7 +73,7 @@ resource app 'Microsoft.App/containerApps@2024-03-01' = {
template: {
containers: [
{
image: '${registry.properties.loginServer}/${context.projectName}-${appName}:${version}'
image: 'acreuwprdcalque.azurecr.io/${context.projectName}-${appName}:${version}'
name: '${context.projectName}-${appName}'
resources: {
cpu: json('0.25')

View file

@ -5,7 +5,7 @@ targetScope = 'resourceGroup'
param context Context
// resource monitoring 'Microsoft.___/___@___' = {
// name: 'acr-${context.locationAbbreviation}-${context.environment}-${context.projectName}'
// name: '___-${context.locationAbbreviation}-${context.environment}-${context.projectName}'
// location: context.location
// properties: {}
// }

View file

@ -10,7 +10,16 @@ resource registry 'Microsoft.ContainerRegistry/registries@2023-07-01' = {
sku: {
name: 'Basic'
}
properties: {}
identity: {
type: 'SystemAssigned'
}
properties: {
adminUserEnabled: true
dataEndpointEnabled: false
encryption: {
status: 'disabled'
}
}
}
output registry resource'Microsoft.ContainerRegistry/registries@2023-07-01' = registry