Skip to content

Commit

Permalink
gh-38: fix elasticsearch value notation
Browse files Browse the repository at this point in the history
  • Loading branch information
idcrosby committed Feb 4, 2019
1 parent 804eef3 commit 442a007
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
Binary file added helm/weaviate/charts/etcd-operator-0.8.3.tgz
Binary file not shown.
6 changes: 6 additions & 0 deletions helm/weaviate/requirements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ dependencies:
repository: "@incubator"
alias: cassandra
condition: cassandra.deploy

- name: etcd-operator
version: 0.8.3
repository: "@stable"
alias: etcd-operator
condition: etcd-operator.deploy
4 changes: 4 additions & 0 deletions helm/weaviate/templates/weaviateConfigMap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ data:
"state_dir": "."
}
},
"configuration_storage": {
"type": "etcd",
"url": "http://{{ index .Values "etcd-operator" "etcdCluster" "name" }}:2379"
},
"contextionary": {
"knn_file" : "{{ .Values.contextionary.knnFile }}",
"idx_file" : "{{ .Values.contextionary.idxFile }}"
Expand Down
12 changes: 10 additions & 2 deletions helm/weaviate/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ cassandra:
image:
tag: 3
config:
cluster_size: 2
seed_size: 2
cluster_size: 20
seed_size: 5
start_rpc: true
resources:
requests:
Expand Down Expand Up @@ -81,3 +81,11 @@ janusgraph:
index.search.hostname: weaviate-elasticsearch-client
storage.index.search.local-mode: false
storage.index.search.client-only: false

# Etcd Operator
etcd-operator:
customResources:
createEtcdClusterCRD: true
etcdCluster:
name: etcd-cluster
size: 3

0 comments on commit 442a007

Please sign in to comment.