Skip to content

Commit

Permalink
Expose the dnsPrefix directly so we can override it
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaykul committed Oct 9, 2023
1 parent f3186d4 commit efe7726
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion infrastructure/modules/managedCluster.bicep
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
@description('Required. The base for resource names')
param baseName string

@description('Optional. A dns prefix to put before .$location.cloudapp.azure.com')
param dnsPrefix string = baseName

@description('Optional. The location to deploy. Defaults to resourceGroup().location')
param location string = resourceGroup().location

Expand Down Expand Up @@ -250,7 +253,7 @@ resource cluster 'Microsoft.ContainerService/managedClusters@2023-05-02-preview'
// */
// AAD enabled, no local accounts allowed
disableLocalAccounts: false
dnsPrefix: baseName
dnsPrefix: dnsPrefix
enablePodSecurityPolicy: false
enableRBAC: true
// For private clusters? Public clusters use dnsPrefix
Expand Down

0 comments on commit efe7726

Please sign in to comment.