updated ingress
This commit is contained in:
parent
eaadd22931
commit
c1f96a1a47
3 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@
|
|||
(defn generate-ingress [config]
|
||||
(let [{:keys [fqdn issuer ingress-type]
|
||||
:or {issuer :staging ingress-type :default}} config
|
||||
letsencrypt-issuer (str "letsencrypt-" (name issuer) "-issuer")
|
||||
letsencrypt-issuer (name issuer)
|
||||
ingress-kind (if (= :default ingress-type) "" (name ingress-type))]
|
||||
(->
|
||||
(yaml/from-string (yaml/load-resource "jitsi/ingress.yaml"))
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
kind: Ingress
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: jitsi
|
||||
annotations:
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
[dda.c4k-jitsi.jitsi :as cut]))
|
||||
|
||||
|
||||
(deftest should-generate-webserver-deployment
|
||||
(deftest should-generate-deployment
|
||||
(is (= {:apiVersion "apps/v1"
|
||||
:kind "Deployment"
|
||||
:metadata
|
||||
|
|
Loading…
Reference in a new issue