Closed BCantos17 closed 1 year ago
So i was passing in the opensearch.yml
as a template variable like so
config:
opensearch.yml: |-
${opensearch.yml}
and in that template I was trying to pass in a variable within the template cluster.name: ${clustername}
but this didn't pass in the variable, instead passing in the string "${clustername}". Fixed the issue but just changing it from a variable to a string
Describe the bug When creating a cluster with a name other than the default name
opensearch-cluster-master
, opensearch tries to connect to theopensearch-cluster-master-headless
To Reproduce Steps to reproduce the behavior: Create an opensearch.yml configuration and change the fieldsclusterName
andnodeGroup
to something other thanopensearch-cluster
andmaster
and then try running the chart. The services will throw an exception. In my case, the yaml file isExpected behavior Should try to connect to the host
opensearch-next-cluster-manager-headless
instead or perhaps include a field to override the hostname. I could not find anything in the documentation that looks like I can override the hostChart Name opensearch Chart Version 2.15.0
Host/Environment (please complete the following information):
Additional context full stack trace