Commit graph

100 commits

Author SHA1 Message Date
6794a24f0f add namespace to ingress 2024-02-20 15:23:59 +01:00
73e2ebd12f introduce namespace 2024-02-20 15:23:42 +01:00
866ef84f12 use load-resource macro 2024-02-20 12:08:49 +01:00
781ae8b0c5 remov unused imports 2024-02-20 11:46:59 +01:00
a334dff58b add ratelimit to ingress 2024-02-19 18:30:12 +01:00
6b79f2599d minor fixes 2024-02-17 14:39:31 +01:00
b706139d4f remove need for reflection 2024-02-16 17:35:33 +01:00
bom
bfa2007459 Finish implementing macro
* move macros.clj to common directory, to be included in shadow-cljs
* add cljs macro-passing file
* add tests to check functionality
2023-10-27 17:35:15 +02:00
bom
a9fa5e4a35 Add inline-resources macro
* allows inclusion of a whole folder in the "resources/" directory
2023-10-27 16:29:43 +02:00
bom
abfe467382 Fix typo 2023-10-27 14:53:29 +02:00
bom
52d5263b86 Fix naming to avoid breaking change 2023-10-27 12:37:24 +02:00
bom
0da8216e6c Refactor get-content-from-element to enable tests 2023-10-27 12:21:12 +02:00
bom
f147947558 Fix get-content-from-element 2023-10-06 11:57:15 +02:00
bom
966ecf1009 Fix get-content-from-element 2023-10-06 11:56:20 +02:00
Clemens
f143587c95 Added todo 2023-06-16 13:53:15 +02:00
bom
97067359f5 Bump certificate renewal time to 30 days 2023-05-19 10:57:21 +02:00
bom
1c30c8c157 Faster renewal of certificates 2023-03-02 11:54:55 +01:00
bom
30d444c2a0 Rename keywords to monitoring specific values 2023-01-27 13:37:33 +01:00
dc23ef15cc Refactor spec definitions as spec keywords. 2023-01-27 12:25:58 +01:00
e827b6113d Update postgres to use strings instead of keywords
In config and auth.
2023-01-27 12:24:22 +01:00
64298cc69e Refactor keywords to strings
Because the yaml reader reads clojure keywords as string.
2023-01-27 12:23:01 +01:00
7cd303b478 Implement specs as def 2023-01-27 10:34:45 +01:00
bom
67c2fb4af7 Implement specs as defs and not functions
This caused values to be spec valid no matter what
2023-01-27 10:25:59 +01:00
50f269e8d4 breaking: fixed spec for monitoring 2022-12-28 17:58:24 +01:00
a85e3c3b24 add ability to either consume yaml or edn 2022-12-28 08:40:08 +01:00
7af0897db3 format 2022-12-27 08:19:22 +01:00
d8c7bdc55f refactor name 2022-12-27 08:19:13 +01:00
0991ac2f73 bind ingress to public 2022-12-26 18:06:12 +01:00
2c8ce98d66 breaking: widen spec for ingress usage 2022-12-26 18:05:52 +01:00
167c58be08 breaking: rename ingress-cert -> ingress & add generateingress-and-cert 2022-12-26 18:04:53 +01:00
6241f63967 add groups f. browser 2022-12-23 18:53:01 +01:00
Pat Dyn
8a3fc9399e We now produce a working monitoring config 2022-12-23 14:52:43 +00:00
bom
a440fc47a6 Use defn instead of multimethod for load-as-edn 2022-11-18 10:38:39 +01:00
bom
d635988f5a Remove router.tls annotation
This specialized the ingress for https connections which is no longer
the case for the combined ingress
2022-11-11 10:24:33 +01:00
bom
948b7d92e7 Consolidate http and https ingress
The two ingresses were used to enable http to https redirects which can
also be done by specifying a middleware in the annotations.
2022-11-11 09:35:42 +01:00
Pat Dyn
070e794981 Merge branch 'master' into 'yaml-ns-refactoring'
# Conflicts:
#   src/test/cljc/dda/c4k_common/common_test.cljc
2022-11-08 13:28:36 +00:00
efca8c0cd9 Update ingress 2022-11-08 14:00:03 +01:00
2ee2985139 Cleanup 2022-11-08 13:53:02 +01:00
6358701732 shadow-cljs/resource need literal string 2022-11-08 13:43:54 +01:00
1cadd0e993 [WIP] Update postgres and tests 2022-11-08 13:37:08 +01:00
65dd1d1ca2 [WIP] Check for allowed resources 2022-11-08 13:06:26 +01:00
d1f4fb942d [WIP] Refactor yaml.cljs
Move redundand functionality from modules to common.
2022-11-08 12:57:54 +01:00
ce73df117c Remove Todo from http ing[F 2022-11-04 12:06:44 +01:00
68d8323921 Refactor labels.app.kubernetes.part-of 2022-11-01 15:38:14 +01:00
fe2d74a947 [Skip-Ci] [WIP] Refactor ingress ns
* now ingress-cert
* typo fix
2022-11-01 13:59:24 +01:00
Clemens
e6074cdb4d Added integer-string? predicate 2022-10-28 12:42:19 +02:00
bb8ac8a78f Add ingress definitions to c4k-common
Also update gitignore.
2022-10-19 09:25:37 +02:00
34f498cacb Added pred int-gt-n? 2022-08-05 08:50:25 +02:00
508f0a76f8 renamed commen-test -> test-helper 2022-07-29 14:04:28 +02:00
6d520d3fa8 fix spec for concat-vec & added tests 2022-07-29 13:46:53 +02:00