Skip to content

Commit

Permalink
Use v1 of the account in the examples
Browse files Browse the repository at this point in the history
Signed-off-by: Knut-Erik Johnsen <[email protected]>
  • Loading branch information
knutejoh committed Nov 1, 2024
1 parent 52bd5de commit 35f520a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion examples/cosmosdb/v1beta1/mongoroledefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:

---

apiVersion: cosmosdb.azure.upbound.io/v1beta2
apiVersion: cosmosdb.azure.upbound.io/v1beta1
kind: Account
metadata:
annotations:
Expand All @@ -29,6 +29,8 @@ spec:
- name: EnableMongoRoleBasedAccessControl
consistencyPolicy:
- consistencyLevel: Strong
maxIntervalInSeconds: 300
maxStalenessPrefix: 100000
geoLocation:
- failoverPriority: 0
location: West Europe
Expand Down
4 changes: 3 additions & 1 deletion examples/cosmosdb/v1beta1/mongouserdefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ data:

---

apiVersion: cosmosdb.azure.upbound.io/v1beta2
apiVersion: cosmosdb.azure.upbound.io/v1beta1
kind: Account
metadata:
annotations:
Expand All @@ -46,6 +46,8 @@ spec:
- name: EnableMongoRoleBasedAccessControl
consistencyPolicy:
- consistencyLevel: Strong
maxIntervalInSeconds: 300
maxStalenessPrefix: 100000
geoLocation:
- failoverPriority: 0
location: West Europe
Expand Down

0 comments on commit 35f520a

Please sign in to comment.