updated ingress

This commit is contained in:
see 2022-05-25 10:20:16 +02:00
parent eaadd22931
commit c1f96a1a47
3 changed files with 3 additions and 3 deletions

View file

@ -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"))

View file

@ -1,5 +1,5 @@
kind: Ingress
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: jitsi
annotations:

View file

@ -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