-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into K8SPSMDB-1088
- Loading branch information
Showing
23 changed files
with
435 additions
and
125 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18764,7 +18764,6 @@ spec: | |
type: array | ||
required: | ||
- name | ||
- passwordSecretRef | ||
- roles | ||
type: object | ||
type: array | ||
|
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 |
---|---|---|
|
@@ -19460,7 +19460,6 @@ spec: | |
type: array | ||
required: | ||
- name | ||
- passwordSecretRef | ||
- roles | ||
type: object | ||
type: array | ||
|
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 |
---|---|---|
|
@@ -19460,7 +19460,6 @@ spec: | |
type: array | ||
required: | ||
- name | ||
- passwordSecretRef | ||
- roles | ||
type: object | ||
type: array | ||
|
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 |
---|---|---|
|
@@ -19460,7 +19460,6 @@ spec: | |
type: array | ||
required: | ||
- name | ||
- passwordSecretRef | ||
- roles | ||
type: object | ||
type: array | ||
|
20 changes: 20 additions & 0 deletions
20
e2e-tests/custom-users-roles-sharded/compare/user-external.json
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,20 @@ | ||
switched to db $external | ||
{ | ||
"_id" : "$external.user-external", | ||
"user" : "user-external", | ||
"db" : "$external", | ||
"roles" : [ | ||
{ | ||
"role" : "clusterAdmin", | ||
"db" : "admin" | ||
}, | ||
{ | ||
"role" : "userAdminAnyDatabase", | ||
"db" : "admin" | ||
} | ||
], | ||
"mechanisms" : [ | ||
"external" | ||
] | ||
} | ||
bye |
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
21 changes: 21 additions & 0 deletions
21
e2e-tests/custom-users-roles-sharded/compare/user-gen.json
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,21 @@ | ||
switched to db admin | ||
{ | ||
"_id" : "admin.user-gen", | ||
"user" : "user-gen", | ||
"db" : "admin", | ||
"roles" : [ | ||
{ | ||
"role" : "clusterAdmin", | ||
"db" : "admin" | ||
}, | ||
{ | ||
"role" : "userAdminAnyDatabase", | ||
"db" : "admin" | ||
} | ||
], | ||
"mechanisms" : [ | ||
"SCRAM-SHA-1", | ||
"SCRAM-SHA-256" | ||
] | ||
} | ||
bye |
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,20 @@ | ||
switched to db $external | ||
{ | ||
"_id" : "$external.user-external", | ||
"user" : "user-external", | ||
"db" : "$external", | ||
"roles" : [ | ||
{ | ||
"role" : "clusterAdmin", | ||
"db" : "admin" | ||
}, | ||
{ | ||
"role" : "userAdminAnyDatabase", | ||
"db" : "admin" | ||
} | ||
], | ||
"mechanisms" : [ | ||
"external" | ||
] | ||
} | ||
bye |
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,21 @@ | ||
switched to db admin | ||
{ | ||
"_id" : "admin.user-gen", | ||
"user" : "user-gen", | ||
"db" : "admin", | ||
"roles" : [ | ||
{ | ||
"role" : "clusterAdmin", | ||
"db" : "admin" | ||
}, | ||
{ | ||
"role" : "userAdminAnyDatabase", | ||
"db" : "admin" | ||
} | ||
], | ||
"mechanisms" : [ | ||
"SCRAM-SHA-1", | ||
"SCRAM-SHA-256" | ||
] | ||
} | ||
bye |
Oops, something went wrong.