mesosphere / kudo-cassandra-operator

KUDO Cassandra Operator
https://kudo.dev
Apache License 2.0
10 stars 3 forks source link

Missing `datacenterLabels` causes the statefulset to error out. #174

Open kaiwalyajoshi opened 3 years ago

kaiwalyajoshi commented 3 years ago

Omitting datacenterLables causes this error:

Error during execution: fatal error: cassandra/cassandra failed in deploy.nodes.node.node: error expanding template stateful-set.yaml: error rendering template: template: stateful-set.yaml:46:36: executing "stateful-set.yaml" at <$datacenter.datacenterLabels>: map has no entry for key "datacenterLabels"

Reproduction Steps: Run MWT Benchmark tests: https://github.com/mesosphere/kudo-cassandra-operator/tree/master/benchmarks Comment out datacenterLabels from https://github.com/mesosphere/kudo-cassandra-operator/blob/master/benchmarks/mwt/setup/01-cassandra-install/params.yaml