cassandra_new_init_client2
This commit is contained in:
parent
fe3ae453b1
commit
abd2de7dfc
File diff suppressed because one or more lines are too long
@ -177,7 +177,7 @@ spec:
|
|||||||
else
|
else
|
||||||
echo "Couldn't find the expected Java Key Stores (JKS) files! They are mandatory when encryption via TLS is enabled."
|
echo "Couldn't find the expected Java Key Stores (JKS) files! They are mandatory when encryption via TLS is enabled."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
{{- end }}
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
- name: MY_POD_NAME
|
- name: MY_POD_NAME
|
||||||
@ -215,8 +215,6 @@ spec:
|
|||||||
resources: {{- include "common.resources.preset" (dict "type" .Values.tls.resourcesPreset) | nindent 12 }}
|
resources: {{- include "common.resources.preset" (dict "type" .Values.tls.resourcesPreset) | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: script-volume
|
|
||||||
mountPath: /scripts
|
|
||||||
- name: certs
|
- name: certs
|
||||||
mountPath: /certs
|
mountPath: /certs
|
||||||
- name: certs-shared
|
- name: certs-shared
|
||||||
@ -497,8 +495,6 @@ spec:
|
|||||||
resources: {{- include "common.resources.preset" (dict "type" .Values.resourcesPreset) | nindent 12 }}
|
resources: {{- include "common.resources.preset" (dict "type" .Values.resourcesPreset) | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: script-volume
|
|
||||||
mountPath: /scripts
|
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: {{ .Values.persistence.mountPath }}
|
mountPath: {{ .Values.persistence.mountPath }}
|
||||||
{{- if .Values.usePasswordFiles }}
|
{{- if .Values.usePasswordFiles }}
|
||||||
@ -598,9 +594,6 @@ spec:
|
|||||||
{{- include "common.tplvalues.render" (dict "value" .Values.sidecars "context" $) | nindent 8 }}
|
{{- include "common.tplvalues.render" (dict "value" .Values.sidecars "context" $) | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: script-volume
|
|
||||||
configMap:
|
|
||||||
name: cassandra-init-script
|
|
||||||
- name: metrics-conf
|
- name: metrics-conf
|
||||||
configMap:
|
configMap:
|
||||||
name: {{ include "cassandra.metricsConfConfigMap" . }}
|
name: {{ include "cassandra.metricsConfConfigMap" . }}
|
||||||
|
|||||||
@ -138,7 +138,16 @@ dbUser:
|
|||||||
existingSecretPasswordKey: ""
|
existingSecretPasswordKey: ""
|
||||||
## @param initDB Object with cql scripts. Useful for creating a keyspace and pre-populating data
|
## @param initDB Object with cql scripts. Useful for creating a keyspace and pre-populating data
|
||||||
##
|
##
|
||||||
initDB: {}
|
|
||||||
|
initDB: |
|
||||||
|
CREATE KEYSPACE IF NOT EXISTS workspaces WITH replication = {'class' : 'SimpleStrategy', 'replication_factor' : 3};
|
||||||
|
CREATE KEYSPACE IF NOT EXISTS users WITH replication = {'class' : 'SimpleStrategy', 'replication_factor' : 3};
|
||||||
|
CREATE KEYSPACE IF NOT EXISTS stickers WITH replication = {'class' : 'SimpleStrategy', 'replication_factor' : 3};
|
||||||
|
CREATE KEYSPACE IF NOT EXISTS notifications WITH replication = {'class' : 'SimpleStrategy', 'replication_factor' : 3};
|
||||||
|
CREATE KEYSPACE IF NOT EXISTS messages WITH replication = {'class' : 'SimpleStrategy', 'replication_factor' : 3};
|
||||||
|
CREATE KEYSPACE IF NOT EXISTS chats WITH replication = {'class' : 'SimpleStrategy', 'replication_factor' : 3};
|
||||||
|
CREATE KEYSPACE IF NOT EXISTS calls WITH replication = {'class' : 'SimpleStrategy', 'replication_factor' : 3};
|
||||||
|
|
||||||
## @param initDBConfigMap ConfigMap with cql scripts. Useful for creating a keyspace and pre-populating data
|
## @param initDBConfigMap ConfigMap with cql scripts. Useful for creating a keyspace and pre-populating data
|
||||||
##
|
##
|
||||||
initDBConfigMap: {}
|
initDBConfigMap: {}
|
||||||
@ -206,7 +215,8 @@ args: []
|
|||||||
## - name: FOO
|
## - name: FOO
|
||||||
## value: BAR
|
## value: BAR
|
||||||
##
|
##
|
||||||
extraEnvVars: []
|
extraEnvVars:
|
||||||
|
- name: CASSANDRA_CFG_YAML_SASI_INDEXES_ENABLED
|
||||||
## @param extraEnvVarsCM Name of existing ConfigMap containing extra env vars
|
## @param extraEnvVarsCM Name of existing ConfigMap containing extra env vars
|
||||||
##
|
##
|
||||||
extraEnvVarsCM: ""
|
extraEnvVarsCM: ""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user