Skip to content

Commit

Permalink
Fix a bug for addonprofiles
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStorhaug committed Mar 8, 2023
1 parent 815643b commit 5ed46a1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions modules/Microsoft.ContainerService/managedClusters/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -419,34 +419,34 @@ resource managedCluster 'Microsoft.ContainerService/managedClusters@2022-09-01'
}
ingressApplicationGateway: {
enabled: ingressApplicationGatewayEnabled && !empty(appGatewayResourceId)
config: {
config: ingressApplicationGatewayEnabled && !empty(appGatewayResourceId) ?{
applicationGatewayId: !empty(appGatewayResourceId) ? any(appGatewayResourceId) : null
effectiveApplicationGatewayId: !empty(appGatewayResourceId) ? any(appGatewayResourceId) : null
}
} : null
}
omsagent: {
enabled: omsAgentEnabled && !empty(monitoringWorkspaceId)
config: {
config: omsAgentEnabled && !empty(monitoringWorkspaceId) ? {
logAnalyticsWorkspaceResourceID: !empty(monitoringWorkspaceId) ? any(monitoringWorkspaceId) : null
}
} : null
}
aciConnectorLinux: {
enabled: aciConnectorLinuxEnabled
}
azurepolicy: {
enabled: azurePolicyEnabled
config: {
config: azurePolicyEnabled ? {
version: azurePolicyVersion
}
} : null
}
kubeDashboard: {
enabled: kubeDashboardEnabled
}
azureKeyvaultSecretsProvider: {
enabled: enableKeyvaultSecretsProvider
config: {
config: enableKeyvaultSecretsProvider ? {
enableSecretRotation: enableSecretRotation
}
} : null
}
}
oidcIssuerProfile: enableOidcIssuerProfile ? {
Expand Down

0 comments on commit 5ed46a1

Please # to comment.