From 589ecb93f9cd18bd42349243214e965f193c6286 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Thu, 19 Nov 2020 17:19:06 +0100 Subject: [COMMON][MUSIC] Uses new tpls for repos / images This commit makes music template to use the new generator for repositories and images. As new templates doesn't work well with "sub charts", we move also subcharts to components folder. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux Change-Id: Icd5caef12b28cbcc246cf30a13426d6eb11cfe20 --- .../music-cassandra/resources/cql/extra/check.cql | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 kubernetes/common/music/components/music-cassandra/resources/cql/extra/check.cql (limited to 'kubernetes/common/music/components/music-cassandra/resources/cql/extra/check.cql') 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; + -- cgit 1.2.3-korg