cassandra small fix

This commit is contained in:
Leo Sok 2026-04-13 19:35:47 +03:00
parent 8190c3d5a1
commit 31ca9c9d15
3 changed files with 11 additions and 15 deletions

View File

@ -12,3 +12,5 @@ data:
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};
CREATE KEYSPACE IF NOT EXISTS config WITH replication = {'class' : 'SimpleStrategy', 'replication_factor' : 3};
CREATE KEYSPACE IF NOT EXISTS dictionary WITH replication = {'class' : 'SimpleStrategy', 'replication_factor' : 3};

View File

@ -177,7 +177,7 @@ spec:
else
echo "Couldn't find the expected Java Key Stores (JKS) files! They are mandatory when encryption via TLS is enabled."
exit 1
fi
fi
{{- end }}
env:
- name: MY_POD_NAME

View File

@ -12,12 +12,12 @@
## @param global.defaultStorageClass Global default StorageClass for Persistent Volume(s)
##
global:
imageRegistry: "registry.co-work.ru"
imageRegistry: "docker.ii-p001.local"
## E.g.
## imagePullSecrets:
## - myRegistryKeySecretName
##
imagePullSecrets: [docker-registry-secret]
imagePullSecrets: []
defaultStorageClass: ""
## Security parameters
##
@ -41,7 +41,7 @@ global:
nameOverride: ""
## @param fullnameOverride String to fully override common.names.fullname
##
fullnameOverride: "cassandra"
fullnameOverride: ""
## @param kubeVersion Force target Kubernetes version (using Helm capabilities if not set)
##
kubeVersion: ""
@ -138,9 +138,7 @@ dbUser:
existingSecretPasswordKey: ""
## @param initDB Object with cql scripts. Useful for creating a keyspace and pre-populating data
##
initDB: {}
## @param initDBConfigMap ConfigMap with cql scripts. Useful for creating a keyspace and pre-populating data
##
initDBConfigMap: "cassandra-init-script"
@ -211,7 +209,6 @@ args: []
extraEnvVars:
- name: CASSANDRA_CFG_YAML_SASI_INDEXES_ENABLED
value: "true"
## @param extraEnvVarsCM Name of existing ConfigMap containing extra env vars
##
extraEnvVarsCM: ""
@ -286,18 +283,15 @@ affinity:
- labelSelector:
matchLabels:
app.kubernetes.io/name: cassandra
topologyKey: "kubernetes.io/hostname"## @param nodeSelector Node labels for pod assignment
topologyKey: "kubernetes.io/hostname"
## @param nodeSelector Node labels for pod assignment
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
##
nodeSelector:
tenant: client3
nodeSelector: {}
## @param tolerations Tolerations for pod assignment
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations:
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
tolerations: []
## @param topologySpreadConstraints Topology Spread Constraints for pod assignment
## https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
## The value is evaluated as a template
@ -650,7 +644,7 @@ persistence:
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
storageClass: "client3"
storageClass: "ceph-rbd-fast-client1"
## @param persistence.commitStorageClass PVC Storage Class for Cassandra Commit Log volume
## Storage class to use with CASSANDRA_COMMITLOG_DIR to reduce the concurrence for writing data and commit logs
## ref: https://github.com/bitnami/containers/tree/main/bitnami/cassandra