diff options
author | 2020-12-04 21:32:13 +0000 | |
---|---|---|
committer | 2020-12-04 21:32:13 +0000 | |
commit | 402744dfb6a0c0b1de43614c9919d513a24ee729 (patch) | |
tree | 8963db637c5f2276a922d2f611eb8c6a1daae08e /kubernetes/common/music/components/music-cassandra/resources/cql/extra/check.cql | |
parent | 305d69a99c70feab066bdf216b02897fa4192711 (diff) | |
parent | 589ecb93f9cd18bd42349243214e965f193c6286 (diff) |
Merge "[COMMON][MUSIC] Uses new tpls for repos / images"
Diffstat (limited to 'kubernetes/common/music/components/music-cassandra/resources/cql/extra/check.cql')
-rw-r--r-- | kubernetes/common/music/components/music-cassandra/resources/cql/extra/check.cql | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/kubernetes/common/music/components/music-cassandra/resources/cql/extra/check.cql b/kubernetes/common/music/components/music-cassandra/resources/cql/extra/check.cql new file mode 100644 index 0000000000..a516be857b --- /dev/null +++ b/kubernetes/common/music/components/music-cassandra/resources/cql/extra/check.cql @@ -0,0 +1,23 @@ +CREATE KEYSPACE testks + WITH REPLICATION = { + 'class' : '{{.Values.cql.keyspace.replicationClass}}', + 'replication_factor': {{.Values.cql.keyspace.replicationFactor}} + } + AND DURABLE_WRITES = true; + +CREATE TABLE testks.keyspace_master_table ( + uuid uuid, + keyspace_name text, + application_name text, + is_api boolean, + password text, + username text, + is_aaf boolean, + PRIMARY KEY (uuid) +); + +DESCRIBE KEYSPACES; +DESCRIBE keyspace testks; +SELECT * FROM system_auth.roles; +DROP keyspace testks; + |