Compare commits

..

2 commits

Author SHA1 Message Date
bom
827c97dc62 Pass config/auth to functions 2023-08-25 13:33:08 +02:00
bom
5930d4376a Remove copy-paste mistake 2023-08-25 13:32:49 +02:00
2 changed files with 8 additions and 7 deletions

View file

@ -29,14 +29,14 @@
:pvc-storage-class-name default-storage-class}) :pvc-storage-class-name default-storage-class})
(postgres/generate-deployment) (postgres/generate-deployment)
(postgres/generate-service) (postgres/generate-service)
; TODO: Add configuration and authentication to relevant calls
(taiga/generate-async-rabbitmq-deployment) (taiga/generate-async-rabbitmq-deployment)
(taiga/generate-async-rabbitmq-service) (taiga/generate-async-rabbitmq-service)
(taiga/generate-async-service) (taiga/generate-async-service)
(taiga/generate-back-deployment) (taiga/generate-back-deployment)
(taiga/generate-back-service) (taiga/generate-back-service)
(taiga/generate-configmap) (taiga/generate-configmap config)
(taiga/generate-data-pvcs) (taiga/generate-pvc-taiga-media-data config)
(taiga/generate-pvc-taiga-static-data config)
(taiga/generate-events-deployment) (taiga/generate-events-deployment)
(taiga/generate-events-rabbitmq-deployment) (taiga/generate-events-rabbitmq-deployment)
(taiga/generate-events-rabbitmq-service) (taiga/generate-events-rabbitmq-service)
@ -48,8 +48,9 @@
(taiga/generate-gateway-service) (taiga/generate-gateway-service)
(taiga/generate-protected-deployment) (taiga/generate-protected-deployment)
(taiga/generate-protected-service) (taiga/generate-protected-service)
(taiga/generate-rabbitmq-pvc) (taiga/generate-rabbitmq-pvc-async config)
(taiga/generate-secret)] (taiga/generate-rabbitmq-pvc-events config)
(taiga/generate-ingress-and-cert) (taiga/generate-secret auth)]
(taiga/generate-ingress-and-cert config)
(when (:contains? config :mon-cfg) (when (:contains? config :mon-cfg)
(mon/generate (:mon-cfg config) (:mon-auth auth)))))))) (mon/generate (:mon-cfg config) (:mon-auth auth))))))))

View file

@ -8,7 +8,7 @@
[dda.c4k-taiga.taiga :as cut])) [dda.c4k-taiga.taiga :as cut]))
#?(:cljs #?(:cljs
(defmethod yaml/load-resource :website-test [resource-name] (defmethod yaml/load-resource :taiga-test [resource-name]
(case resource-name (case resource-name
"taiga-test/valid-config.yaml" (rc/inline "taiga-test/valid-config.yaml") "taiga-test/valid-config.yaml" (rc/inline "taiga-test/valid-config.yaml")
"taiga-test/valid-auth.yaml" (rc/inline "taiga-test/valid-auth.yaml") "taiga-test/valid-auth.yaml" (rc/inline "taiga-test/valid-auth.yaml")