Skip to content
Snippets Groups Projects
Verified Commit 3af16b5c authored by Vincent Sellier's avatar Vincent Sellier
Browse files

swh/staging-cassandra: Activate cassandra authentication

Related to swh/infra/sysadm-environment#4824
parent 288422a2
No related branches found
No related tags found
1 merge request!77swh/cassandra: Allow to configure a cassandra authentication provider
......@@ -18,6 +18,14 @@ cassandraStorage:
consistencyLevel: LOCAL_QUORUM
specificOptions:
directory_entries_insert_algo: batch
authProvider:
cls: cassandra.auth.PlainTextAuthProvider
username: swh-rw
password: ${CASSANDRA_PASSWORD}
secrets:
CASSANDRA_PASSWORD:
secretKeyRef: common-secrets
secretKeyName: cassandra-swh-rw-password
cassandraReplayerStorageConfiguration:
storageConfigurationRef: cassandraStorage
......@@ -205,21 +213,19 @@ storage:
storage_conf:
cls: remote
url: http://objstorage0.internal.staging.swh.network:5003/
filters_conf:
- type: readonly
ingress:
enabled: true
host: storage-cassandra.internal.staging.swh.network
gunicorn:
threads: 4
workers: 8
#journalWriter:
# brokers:
# - journal1.internal.staging.swh.network
# - journal2.internal.staging.swh.network
# clientId: swh.storage.journal_writer.storage
# producerConfig: |-
# message.max.bytes: 1000000000
journalWriter:
brokers:
- journal1.internal.staging.swh.network
- journal2.internal.staging.swh.network
clientId: swh.storage-cassandra.journal_writer.storage
producerConfig: |-
message.max.bytes: 1000000000
web:
enabled: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment