Update ingress

This commit is contained in:
erik 2022-11-08 14:00:03 +01:00
parent 2ee2985139
commit efca8c0cd9

View file

@ -33,11 +33,6 @@
"ingress/https-ingress.yaml" (rc/inline "ingress/https-ingress.yaml") "ingress/https-ingress.yaml" (rc/inline "ingress/https-ingress.yaml")
(throw (js/Error. "Undefined Resource!"))))) (throw (js/Error. "Undefined Resource!")))))
; TODO: Review jem 2022/10/26: generalize!
#?(:cljs
(defmethod yaml/load-as-edn :ingress [resource-name]
(yaml/from-string (yaml/load-resource resource-name))))
(defn-spec generate-host-rule pred/map-or-seq? (defn-spec generate-host-rule pred/map-or-seq?
[service-name ::service-name [service-name ::service-name
service-port ::service-port service-port ::service-port