Commit graph

84 commits

Author SHA1 Message Date
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
21c1b69ade Remove tls annotation from ingress
This is not required as specifying the tls section already specializes
this ingress for https traffic.
2022-11-18 09:37:26 +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
ef9fd8ea65 Fix test and update deps
* Exception testing now happens for clj only
  * If testing for cljs is required we need tests for cljs
2022-11-02 13:58:20 +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
c3a14c96d1 Added concat-str-vec with string-vector? pred 2022-07-29 12:39:40 +02:00
bom
a4de7f54e3 Fix tests 2022-07-27 11:56:21 +02:00
bom
e28ccabf72 Move input to end of pred function 2022-07-27 11:53:10 +02:00
bom
aa55ae4606 Add tests for all remaining predicates 2022-07-27 11:30:16 +02:00
bom
f403f9452b Fix: print (usage name) instead of the usage function 2022-07-27 11:29:31 +02:00
bom
980eec3158 Update name of list-of-separated-by? 2022-07-27 11:28:49 +02:00
9a065943c9 Add unittests for predicates 2022-07-27 11:02:30 +02:00
bom
b0fe222c25 Use map-diff function in postgres_test
Add tests alongside the existing tests which use map-diff to demonstrate
the usage of map-diff.
2022-06-13 22:15:25 +02:00
bom
792947c939 Add common_test namespace with map-diff function
The map-diff function searches two collections with the same structure
for equal keywords with differing values and returns the diff as a map.
2022-06-13 22:08:23 +02:00
bom
181b4c9e09 prep for release 2022-05-13 15:37:42 +02:00
bom
75bd554624 prep for release 2022-05-13 15:24:04 +02:00
bom
2acf9b3bb2 moved main to uberjar from common ns 2022-05-13 14:19:37 +02:00
bom
56e30b0b5f added load-as-edn as function 2022-05-13 14:19:16 +02:00
933342d860 Changed letsencrypt issuer stages from keywords to strings. 2022-05-11 14:14:29 +02:00
bom
1a2997b89f Merge branch 'master' of gitlab.com:domaindrivenarchitecture/c4k-common 2022-04-27 13:20:02 +02:00
bom
d5cb048221 Version 1.1.1 2022-04-27 13:19:42 +02:00
76206a28ba Added predicate is-yaml? 2022-04-13 13:39:55 +02:00
4cfe791e85 Breaking-Change: generate-pvc now needs a config.
introduced storage-size & storage-class-name
2022-02-12 18:28:35 +01:00
jem
0fc9fc3e65 fixed cljs tests 2021-11-06 17:29:13 +01:00
jem
d5e3810d02 fixed tests 2021-11-05 19:35:16 +01:00