shortened unchanged file creation
This commit is contained in:
parent
80116453c0
commit
0a18f47dc1
2 changed files with 6 additions and 23 deletions
|
@ -18,9 +18,7 @@
|
||||||
(map yaml/to-string
|
(map yaml/to-string
|
||||||
[(jitsi/generate-ingress config)
|
[(jitsi/generate-ingress config)
|
||||||
(jitsi/generate-secret config)
|
(jitsi/generate-secret config)
|
||||||
(jitsi/generate-jvb-service)
|
(jitsi/generate-unchanged-files)]))
|
||||||
(jitsi/generate-deployment)
|
|
||||||
(jitsi/generate-web-service)]))
|
|
||||||
|
|
||||||
(defn-spec generate any?
|
(defn-spec generate any?
|
||||||
[my-config config?
|
[my-config config?
|
||||||
|
|
|
@ -45,23 +45,8 @@
|
||||||
(cm/replace-key-value :JICOFO_AUTH_PASSWORD (b64/encode jicofo-auth-password))
|
(cm/replace-key-value :JICOFO_AUTH_PASSWORD (b64/encode jicofo-auth-password))
|
||||||
(cm/replace-key-value :JICOFO_COMPONENT_SECRET (b64/encode jicofo-component-secret)))))
|
(cm/replace-key-value :JICOFO_COMPONENT_SECRET (b64/encode jicofo-component-secret)))))
|
||||||
|
|
||||||
(defn generate-jvb-service []
|
(defn generate-unchanged-files []
|
||||||
(yaml/from-string (yaml/load-resource "jitsi/jvb-service.yaml")))
|
(map (comp yaml/from-string yaml/load-resource)
|
||||||
|
["jitsi/jvb-service.yaml"
|
||||||
(defn generate-web-service []
|
"jitsi/web-service.yaml"
|
||||||
(yaml/from-string (yaml/load-resource "jitsi/web-service.yaml")))
|
"jitsi/deployment.yaml"]))
|
||||||
|
|
||||||
(defn generate-deployment []
|
|
||||||
(yaml/from-string (yaml/load-resource "jitsi/deployment.yaml")))
|
|
||||||
|
|
||||||
(defn generate-pod-security-policy []
|
|
||||||
(yaml/from-string (yaml/load-resource "jitsi/pod-security-policy.yaml")))
|
|
||||||
|
|
||||||
(defn generate-role-binding []
|
|
||||||
(yaml/from-string (yaml/load-resource "jitsi/role-binding.yaml")))
|
|
||||||
|
|
||||||
(defn generate-role []
|
|
||||||
(yaml/from-string (yaml/load-resource "jitsi/role.yaml")))
|
|
||||||
|
|
||||||
(defn generate-service-account []
|
|
||||||
(yaml/from-string (yaml/load-resource "jitsi/service-account.yaml")))
|
|
Loading…
Reference in a new issue