Skip to content

Commit

Permalink
Update Elasticsearch
Browse files Browse the repository at this point in the history
  • Loading branch information
ejsmith committed Dec 16, 2024
1 parent a537251 commit 4794fc8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static class ElasticsearchBuilderExtensions
private const int KibanaPort = 5601;

/// <summary>
/// Adds a Elasticsearch container to the application model. The default image is "docker.elastic.co/elasticsearch/elasticsearch". This version the package defaults to the 8.16.1 tag of the Elasticsearch container image
/// Adds a Elasticsearch container to the application model. The default image is "docker.elastic.co/elasticsearch/elasticsearch". This version the package defaults to the 8.17.0 tag of the Elasticsearch container image
/// </summary>
/// <param name="builder">The <see cref="IDistributedApplicationBuilder"/>.</param>
/// <param name="name">The name of the resource. This name will be used as the connection string name when referenced in a dependency.</param>
Expand Down Expand Up @@ -117,5 +117,5 @@ internal static class ElasticsearchContainerImageTags
public const string Registry = "docker.elastic.co";
public const string Image = "elasticsearch/elasticsearch";
public const string KibanaImage = "kibana/kibana";
public const string Tag = "8.16.1";
public const string Tag = "8.17.0";
}
2 changes: 1 addition & 1 deletion src/Exceptionless.AppHost/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var builder = DistributedApplication.CreateBuilder(args);

var elastic = builder.AddElasticsearch("Elasticsearch", port: 9200)
.WithImageTag("8.16.1")
.WithImageTag("8.17.0")
.WithLifetime(ContainerLifetime.Persistent)
.WithContainerName("Exceptionless-Elasticsearch")
.WithDataVolume("exceptionless.data.v1")
Expand Down
2 changes: 1 addition & 1 deletion tests/Exceptionless.Tests/AspireWebHostFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public async Task InitializeAsync()

builder.AddElasticsearch("Elasticsearch")
.WithContainerName("Exceptionless-Elasticsearch-Test")
.WithImageTag("8.16.1")
.WithImageTag("8.17.0")
.WithLifetime(ContainerLifetime.Persistent);

builder.AddRedis("Redis")
Expand Down

0 comments on commit 4794fc8

Please sign in to comment.