From 960e5ee6135d15639a5c887fddf81b6070230c28 Mon Sep 17 00:00:00 2001 From: ansgarz Date: Fri, 18 Mar 2022 14:42:28 +0100 Subject: [PATCH] add core test --- src/test/cljc/dda/c4k_nextcloud/core_test.cljc | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/test/cljc/dda/c4k_nextcloud/core_test.cljc b/src/test/cljc/dda/c4k_nextcloud/core_test.cljc index 8203dd2..f46cfe6 100644 --- a/src/test/cljc/dda/c4k_nextcloud/core_test.cljc +++ b/src/test/cljc/dda/c4k_nextcloud/core_test.cljc @@ -52,4 +52,17 @@ :aws-secret-access-key "aws-secret" :restic-password "restic-pw"}) [0]) - "max_connections = 700"))) + "max_connections = 700")) + (is (st/includes? + (get-in (cut/k8s-objects {:fqdn "nextcloud-neu.prod.meissa-gmbh.de" + :postgres-db-user "nextcloud" + :postgres-db-password "nextcloud-db-password" + :nextcloud-admin-user "cloudadmin" + :nextcloud-admin-password "cloudpassword" + :issuer :prod + :aws-access-key-id "aws-id" + :aws-secret-access-key "aws-secret" + :restic-password "restic-pw"}) + [6]) + "storageClassName: local-path")) +)