5 references to MongoDBBuilderExtensions
Aspire.Hosting.MongoDB (5)
ReplicaSet\MongoDBReplicaSetBuilderExtensions.cs (5)
73
MongoDBBuilderExtensions
.ThrowIfPublishMode(builder, nameof(AddMongoDBReplicaSet));
396
/// <item> <description><see cref="
MongoDBBuilderExtensions
.WithReplicaSet(IResourceBuilder{MongoDBServerResource}, string)"/> to set the replica set name on the member resource and configure it accordingly. </description></item>
397
/// <item> <description><see cref="
MongoDBBuilderExtensions
.WithKeyFile(IResourceBuilder{MongoDBServerResource}, IExpressionValue, string)"/> to set the key file parameter on the member resource, which is required for internal authentication between replica set members. </description></item>
398
/// <item> <description><see cref="
MongoDBBuilderExtensions
.WithTlsAllowInvalidCertificates(IResourceBuilder{MongoDBServerResource})"/> because members authenticate to each other with the same certificate they serve to clients, which does not carry a <c>clientAuth</c> extended key usage. </description></item>
434
$"The MongoDB server resource '{member.Resource.Name}' was given a key file of its own, which conflicts with the one shared by the members of the replica set '{builder.Resource.Name}'. Members are given the replica set's key file automatically, so remove the '{nameof(
MongoDBBuilderExtensions
.WithKeyFile)}' call on the member.");