From e74280bf78c7d71d9c795628b9a1e8a2603495d2 Mon Sep 17 00:00:00 2001 From: bom Date: Fri, 3 Feb 2023 11:59:58 +0100 Subject: [PATCH] Fix spec for should-generate-secret --- src/test/cljc/dda/c4k_nextcloud/nextcloud_test.cljc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/test/cljc/dda/c4k_nextcloud/nextcloud_test.cljc b/src/test/cljc/dda/c4k_nextcloud/nextcloud_test.cljc index 9d28d7c..e449782 100644 --- a/src/test/cljc/dda/c4k_nextcloud/nextcloud_test.cljc +++ b/src/test/cljc/dda/c4k_nextcloud/nextcloud_test.cljc @@ -32,7 +32,11 @@ :data {:nextcloud-admin-user "Y2xvdWRhZG1pbg==" :nextcloud-admin-password "Y2xvdWRwYXNzd29yZA=="}} - (cut/generate-secret {:fqdn "somefqdn.de" + (cut/generate-secret {:postgres-db-user "postgres-user" + :postgres-db-password "postgres-password" + :aws-access-key-id "aws-key" + :aws-secret-access-key "aws-secret-key" + :restic-password "restic-password" :nextcloud-admin-user "cloudadmin" :nextcloud-admin-password "cloudpassword"})))) @@ -108,4 +112,4 @@ {:name "POSTGRES_HOST", :value "postgresql-service:5432"}] :volumeMounts [{:name "cloud-data-volume", :mountPath "/var/www/html"}]}] :volumes [{:name "cloud-data-volume", :persistentVolumeClaim {:claimName "cloud-pvc"}}]}}}} - (cut/generate-deployment {:fqdn "somefqdn.de"})))) + (cut/generate-deployment {:fqdn "somefqdn.de"})))) \ No newline at end of file