Commit bea965a8 authored by Mark Harding's avatar Mark Harding

(feat): support having shared database resources for staging

No related merge requests found
......@@ -11,5 +11,5 @@ dependencies:
- name: rabbitmq
repository: https://kubernetes-charts.storage.googleapis.com/
version: 4.1.0
digest: sha256:82fe1d259b4a3e00c1bb94a49ef21eb306b56181cf3fae83ac92d024f2515ece
generated: "2019-06-28T20:22:36.419207+01:00"
digest: sha256:ff418def7167baa3fed1de190fda4170719280a110d9f14fe24bef5c6e2f9c85
generated: "2019-06-28T21:26:42.061018+01:00"
......@@ -2,14 +2,15 @@ dependencies:
- name: redis
version: 0.9.0
repository: https://kubernetes-charts.storage.googleapis.com/
#condition: production
condition: redis.deploy
- name: cassandra
version: 0.10.3
repository: http://storage.googleapis.com/kubernetes-charts-incubator/
condition: cassandra.deploy
- name: elasticsearch
version: 7.1.1
repository: https://helm.elastic.co
condition: useElasticSearch
condition: elasticsearch.deploy
- name: rabbitmq
version: 4.1.0
repository: https://kubernetes-charts.storage.googleapis.com/
\ No newline at end of file
......@@ -168,8 +168,13 @@ data:
// Cassandra configuration
$CONFIG->cassandra = (object) [
'keyspace' => '{{ .Values.cassandra.keyspace }}',
{{- if .Values.deployCassandra }}
'servers' => [ '{{ .Release.Name }}-cassandra' ],
'cql_servers' => [ '{{ .Release.Name }}-cassandra' ],
{{- else }}
'servers' => [ 'cassandra' ],
'cql_servers' => [ 'cassandra' ],
{{- end }}
'username' => '{{ .Values.cassandra.username }}',
'password' => '{{ .Values.cassandra.password }}',
];
......
......@@ -61,14 +61,14 @@ affinity: {}
production: false
useElasticSearch: true
# Redis
redis:
deploy: true # Set to true if you want to deploy a new redis cluster
usePassword: false
# Cassandra
cassandra:
deploy: false # Set to true if you want to deploy a new cassandra cluster
config:
cluster_size: 1
start_rpc: true
......@@ -85,8 +85,10 @@ cassandra:
username: cassandra
password: cassandra
# Elasticsearch
elasticsearch:
deploy: false # Set to true if you want to deploy a new elasticsearch cluster
clusterName: minds-elasticsearch
#esMajorVersion: 6
replicas: 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment