forked from Azure/ARO-HCP
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
42b7b19
commit 66e5016
Showing
4 changed files
with
66 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 1 addition & 31 deletions
32
...nfrastructure/templates/svc-cluster.bicep → dev-infrastructure/modules/svc-cluster.bicep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
@description('Azure Region Location') | ||
param location string = resourceGroup().location | ||
|
||
@description('Set to true to prevent resources from being pruned after 48 hours') | ||
param persist bool = false | ||
|
||
@description('Captures logged in users UID') | ||
param currentUserId string | ||
|
||
@description('VNET address prefix') | ||
param vnetAddressPrefix string | ||
|
||
@description('Subnet address prefix') | ||
param subnetPrefix string | ||
|
||
@description('Specifies the address prefix of the subnet hosting the pods of the AKS cluster.') | ||
param podSubnetPrefix string | ||
|
||
@description('(Optional) boolean flag to configure public/private AKS Cluster') | ||
param enablePrivateCluster bool | ||
|
||
@description('Kuberentes version to use with AKS') | ||
param kubernetesVersion string | ||
|
||
@description('Istio control plane version to use with AKS') | ||
param istioVersion string | ||
|
||
// TODO: When the work around workload identity for the RP is finalized, change this to true | ||
@description('disableLocalAuth for the ARO HCP RP CosmosDB') | ||
param disableLocalAuth bool | ||
|
||
@description('Deploy ARO HCP RP Azure Cosmos DB if true') | ||
param deployFrontendCosmos bool | ||
|
||
@description('List of workload identities to create and their required values') | ||
param workloadIdentities array | ||
|
||
@description('Deploy ARO HCP Maestro Infrastructure if true') | ||
param deployMaestroInfra bool | ||
|
||
@description('The namespace where the maestro resources will be deployed.') | ||
param maestroNamespace string | ||
|
||
module build_svc_cluster 'br:anataleacrtest.azurecr.io/bicep/modules/svc-cluster:v1' = { | ||
name: 'hcp-services-cluster' | ||
params: { | ||
location: location | ||
kubernetesVersion: kubernetesVersion | ||
istioVersion: istioVersion | ||
vnetAddressPrefix: vnetAddressPrefix | ||
subnetPrefix: subnetPrefix | ||
podSubnetPrefix: podSubnetPrefix | ||
enablePrivateCluster: enablePrivateCluster | ||
persist: persist | ||
disableLocalAuth: disableLocalAuth | ||
deployFrontendCosmos: deployFrontendCosmos | ||
deployMaestroInfra: deployMaestroInfra | ||
maestroNamespace: maestroNamespace | ||
currentUserId: currentUserId | ||
workloadIdentities: workloadIdentities | ||
} | ||
} |