I encountered this problem yesterday and after some digging into CRDs have worked out the solution. I wanted to add -Djavax.net.debug=ssl
to the JVM_OPTS as part of debugging some credential problems, but how? The CassandraClusterTemplate CRD brings you as far as CassandraConfig , but doesn’t really help you find where to put these additional options. The CRD is in source code on github, but this section doesn’t look to have made it into the docs.
In the v1.2.0 operator, at least, where you want to change is under the cassandra.config.jvmOptions
, as a string array:
spec:
cassandra:
config:
jvmOptions:
additionalOptions:
- "-Djavax.net.debug=ssl"