fixed yaml generation

This commit is contained in:
bom 2022-02-09 11:40:21 +01:00
parent 9c7ecadb9b
commit 000e135021

View file

@ -15,7 +15,7 @@
(def auth? (s/keys :req-un [])) (def auth? (s/keys :req-un []))
(defn k8s-objects [config] (defn k8s-objects [config]
map yaml/to-string (map (fn [x] (yaml/to-string x))
[(jitsi/generate-jicofo-deployment config) [(jitsi/generate-jicofo-deployment config)
(jitsi/generate-jicofo-pvc) (jitsi/generate-jicofo-pvc)
(jitsi/generate-jvb-deployment config) (jitsi/generate-jvb-deployment config)
@ -23,8 +23,13 @@
(jitsi/generate-jvb-service) (jitsi/generate-jvb-service)
(jitsi/generate-networkpolicy) (jitsi/generate-networkpolicy)
(jitsi/generate-prosody-deployment config) (jitsi/generate-prosody-deployment config)
(jitsi/generate-prosody-pvc) (jitsi/generate-prosody-pvc-config)
(jitsi/generate-prosody-service)]) (jitsi/generate-prosody-pvc-plugins)
(jitsi/generate-prosody-service)
(jitsi/generate-web-deployment config)
(jitsi/generate-web-pvc-config)
(jitsi/generate-web-pvc-crontabs)
(jitsi/generate-web-pvc-transcripts)]))
(defn-spec generate any? (defn-spec generate any?
[my-config config? [my-config config?