-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into issue#946#pgreSqlReplica
- Loading branch information
Showing
13 changed files
with
277 additions
and
178 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
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
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,48 @@ | ||
apiVersion: azure.microsoft.com/v1alpha1 | ||
kind: CosmosDB | ||
metadata: | ||
name: cosmosdb-sample-2 | ||
labels: | ||
CosmosAccountType: Production | ||
spec: | ||
kind: GlobalDocumentDB | ||
location: eastus | ||
resourceGroup: resourcegroup-azure-operators | ||
properties: | ||
databaseAccountOfferType: Standard | ||
|
||
# turn on multi-region writes for production | ||
enableMultipleWriteLocations: true | ||
|
||
# Optionally set the capabilities name to the following options: (the default is SQL) | ||
# "EnableCassandra", "EnableTable", "EnableGremlin", "EnableMongo" | ||
# NOTE: If using "EnableMongo" kind must be set to MongoDB for this to take effect | ||
#capabilities: | ||
# - name: "EnableCassandra" | ||
|
||
# optionally set the mongoDBVersion to "3.2" or "3.6", if omitted the default is "3.2" | ||
# NOTE: kind must be set to MongoDB for this to take effect | ||
# mongoDBVersion: "3.6" | ||
|
||
# enable virtual network rules if configured below | ||
# isVirtualNetworkFilterEnabled: true | ||
|
||
# optionally restrict access to specific virtual networks | ||
# virtualNetworkRules: | ||
# - subnetId: /subscriptions/{subscription_id}/resourceGroups/{resourcegroup}/providers/Microsoft.Network/virtualNetworks/{vnet_name}/subnets/{subnet_name} | ||
# ignoreMissingServiceEndpoint: false | ||
|
||
# optionally configure different CIDR IP ranges for allowed-list, omitting allows all or falls back to vNetRules | ||
ipRules: | ||
# the ips in this rule are needed to access your db from the portal | ||
- 104.42.195.92,40.76.54.131,52.176.6.30,52.169.50.45,52.187.184.26 | ||
# # add additional ips you would like to grant access | ||
# - 1.2.3.4 | ||
|
||
# configure multiple regions and availability zone redundancy | ||
locations: | ||
- locationName: eastus | ||
failoverPriority: 0 | ||
isZoneRedundant: true | ||
- locationName: westus | ||
failoverPriority: 1 |
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
Oops, something went wrong.