summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/music/charts/music-cassandra-job/resources/cql/admin_pw.cql
blob: 24f2ad77f7a27784f48a6685332b14e77c89c734 (plain)
1
2
3
4
5
6
7
8
CREATE ROLE IF NOT EXISTS {{.Values.cql.adminUser.username}}
WITH PASSWORD = '{{.Values.cql.adminUser.password}}'
AND SUPERUSER = true
AND LOGIN = true;

ALTER ROLE cassandra
WITH PASSWORD = '{{.Values.cql.adminUser.passwordReplace}}';