fixed yaml generation
This commit is contained in:
parent
9c7ecadb9b
commit
000e135021
1 changed files with 8 additions and 3 deletions
|
@ -15,7 +15,7 @@
|
|||
(def auth? (s/keys :req-un []))
|
||||
|
||||
(defn k8s-objects [config]
|
||||
map yaml/to-string
|
||||
(map (fn [x] (yaml/to-string x))
|
||||
[(jitsi/generate-jicofo-deployment config)
|
||||
(jitsi/generate-jicofo-pvc)
|
||||
(jitsi/generate-jvb-deployment config)
|
||||
|
@ -23,8 +23,13 @@
|
|||
(jitsi/generate-jvb-service)
|
||||
(jitsi/generate-networkpolicy)
|
||||
(jitsi/generate-prosody-deployment config)
|
||||
(jitsi/generate-prosody-pvc)
|
||||
(jitsi/generate-prosody-service)])
|
||||
(jitsi/generate-prosody-pvc-config)
|
||||
(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?
|
||||
[my-config config?
|
||||
|
|
Loading…
Reference in a new issue