Load correct files for cljs environment

This commit is contained in:
bom 2022-06-17 09:25:07 +02:00
parent 3d4b5728d1
commit b5d1461fa1

View file

@ -9,12 +9,11 @@
(s/def ::fqdn pred/fqdn-string?)
(s/def ::issuer pred/letsencrypt-issuer?)
; TODO
#?(:cljs
(defmethod yaml/load-resource :gitea [resource-name]
(case resource-name
; todo "gitea/secret.yaml" (rc/inline "gitea/secret.yaml")
; "gitea/certificate.yaml" (rc/inline "gitea/certificate.yaml")
"gitea/appini-configmap.yaml" (rc/inline "gitea/appini-configmap.yaml")
"gitea/apini-env-configmap.yaml" (rc/inline "gitea/apini-env-configmap.yaml")
"gitea/deployment.yaml" (rc/inline "gitea/deployment.yaml")
"gitea/ingress.yaml" (rc/inline "gitea/ingress.yaml")
"gitea/services.yaml" (rc/inline "gitea/services.yaml")