Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# To re-generate a bundle for another specific version without changing the standard setup, you can:
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
VERSION ?= v0.4.0
VERSION ?= v0.4.1

# CHANNELS define the bundle channels used in the bundle.
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")
Expand Down
2 changes: 1 addition & 1 deletion elasticgo/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func generateElasticClient(cr *loggingv1beta1.Elasticsearch) (esapi.Transport, e
} else {
urlScheme = "http"
}
elasticURL := fmt.Sprintf("%s://%s-master:9200", urlScheme, cr.ObjectMeta.Name)
elasticURL := fmt.Sprintf("%s://%s-master.%s:9200", urlScheme, cr.ObjectMeta.Name, cr.ObjectMeta.Namespace)
cfg := elasticsearch.Config{
Addresses: []string{
elasticURL,
Expand Down