From fe2d74a947aa6fe4a375ca7ab75f4ecc4ad7d348 Mon Sep 17 00:00:00 2001 From: erik Date: Tue, 1 Nov 2022 13:56:28 +0100 Subject: [PATCH] [Skip-Ci] [WIP] Refactor ingress ns * now ingress-cert * typo fix --- .../cljc/dda/c4k_common/{ingress.cljc => ingress_cert.cljc} | 2 +- src/main/resources/ingress/http-ingress.yaml | 2 +- src/test/cljc/dda/c4k_common/ingress_test.cljc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/main/cljc/dda/c4k_common/{ingress.cljc => ingress_cert.cljc} (98%) diff --git a/src/main/cljc/dda/c4k_common/ingress.cljc b/src/main/cljc/dda/c4k_common/ingress_cert.cljc similarity index 98% rename from src/main/cljc/dda/c4k_common/ingress.cljc rename to src/main/cljc/dda/c4k_common/ingress_cert.cljc index 94824a9..98c43dc 100644 --- a/src/main/cljc/dda/c4k_common/ingress.cljc +++ b/src/main/cljc/dda/c4k_common/ingress_cert.cljc @@ -1,4 +1,4 @@ -(ns dda.c4k-common.ingress +(ns dda.c4k-common.ingress-cert (:require [clojure.spec.alpha :as s] #?(:cljs [shadow.resource :as rc]) diff --git a/src/main/resources/ingress/http-ingress.yaml b/src/main/resources/ingress/http-ingress.yaml index 3ca4151..35f697f 100644 --- a/src/main/resources/ingress/http-ingress.yaml +++ b/src/main/resources/ingress/http-ingress.yaml @@ -15,6 +15,6 @@ spec: path: "/" backend: service: - name: SERVIC_ENAME + name: SERVICE_NAME port: number: 80 diff --git a/src/test/cljc/dda/c4k_common/ingress_test.cljc b/src/test/cljc/dda/c4k_common/ingress_test.cljc index 56ff0d2..dc4dc2a 100644 --- a/src/test/cljc/dda/c4k_common/ingress_test.cljc +++ b/src/test/cljc/dda/c4k_common/ingress_test.cljc @@ -3,7 +3,7 @@ #?(:clj [clojure.test :refer [deftest is are testing run-tests]] :cljs [cljs.test :refer-macros [deftest is are testing run-tests]]) [clojure.spec.test.alpha :as st] - [dda.c4k-common.ingress :as cut])) + [dda.c4k-common.ingress-cert :as cut])) (st/instrument `cut/generate-host-rule) (st/instrument `cut/generate-http-ingress)