Question - How to adjust values.yaml to used a ext...
# all-things-deployment
v
Question - How to adjust values.yaml to used a external eslasticsearch service, on gcp? Deploying on GKE with helm.
e
Hey! Take a look at the variables set here https://datahubproject.io/docs/deploy/aws#elasticsearch-service Though it’s for AWS, it’s applicable elsewhere. Note, you can skip the elasticsearchSetupJob change since that is specific to AWS elasticsearch that uses OpenDistro instead of latest elasticsearch
You don’t have to set indexPrefix tho. Fixing docs now
So basically set global.elasticsearch.host to your elasticsearch url
v
ok, thanks
and how can i set username and password?
e
You can set
global.elasticsearch.auth.username and global.elasticsearch.auth.password
note that
for password, we fetch it through secrets
so you can create the secret in the same namespace with the elasticsearch password
and then set
global.elasticsearch.auth.password.secretRef for the name of the secret
and global.elasticsearch.auth.password.secretKey for the value name inside the secret
Sent out a PR to add more details! Take a look at the basic auth settings!
v
oh, ok
thank you very much
Another doubt: is it possible to use other no relation db other than elasticsearch?
e
We only support elasticsearch as the search backend as of now. But even in the future, we maybe supporting other search indices, but not RDBMS since implementing search capabilities using RDBMS is very inefficient
v
ok