I want to enable authorization and authentication in my ScyllaDB Alternator cluster running in an KinD kubernetes cluster.
I’ve created a ConfigMap as described in the docs
apiVersion: v1
kind: ConfigMap
metadata:
name: scylla-config
namespace: scylla
data:
# property-like keys; each key maps to a simple value
authenticator: PasswordAuthenticator
authorizer: CassandraAuthorizer
and I’ve added that to the cluster.yaml
file I’m using to create the scyllaDb cluster. I can see the configMap via kubectl describe Configmap scylla-config -n scylla
so I know it’s there.
❯ k describe configmap scylla-config -n scylla
Name: scylla-config
Namespace: scylla
Labels: <none>
Annotations: <none>
Data
====
authenticator:
----
PasswordAuthenticator
authorizer:
----
CassandraAuthorizer
BinaryData
====
Events: <none>
However, the settings in the configMap do not appear in the /etc/scylla/scylla.yaml
file in the created cluster.
I’ve even restarted the cluster, but the configMap is there before the scylla cluster is created.
What am I missing?