This commit is contained in:
jerger 2023-01-27 09:39:13 +01:00
parent 7193a34365
commit 1dc56bb77e
2 changed files with 2 additions and 0 deletions

View file

@ -9,6 +9,7 @@ spec:
- name: "http" - name: "http"
port: 80 port: 80
targetPort: 8080 targetPort: 8080
# TODO: 2023.01.27 - jem: only http is needed to be exposed
- name: "https" - name: "https"
port: 443 port: 443
targetPort: 8443 targetPort: 8443

View file

@ -14,6 +14,7 @@
"keycloak-test/valid-config.yaml" (rc/inline "keycloak-test/valid-config.yaml") "keycloak-test/valid-config.yaml" (rc/inline "keycloak-test/valid-config.yaml")
(throw (js/Error. "Undefined Resource!"))))) (throw (js/Error. "Undefined Resource!")))))
;; TODO: 2023.01.27 - jem: may not validate k3s-cluster-name entries ... find out what's wrong.
(deftest validate-valid-resources (deftest validate-valid-resources
(is (s/valid? cut/config? (yaml/load-as-edn "keycloak-test/valid-config.yaml"))) (is (s/valid? cut/config? (yaml/load-as-edn "keycloak-test/valid-config.yaml")))
(is (s/valid? cut/auth? (yaml/load-as-edn "keycloak-test/valid-auth.yaml")))) (is (s/valid? cut/auth? (yaml/load-as-edn "keycloak-test/valid-auth.yaml"))))