Split for generation of config and auth objects #4

Merged
gec merged 9 commits from split-config-auth into main 2024-07-19 09:06:52 +00:00
2 changed files with 2 additions and 3 deletions
Showing only changes of commit 74d5a63bea - Show all commits

View file

@ -44,8 +44,7 @@
(yaml/load-as-edn "monitoring/kube-state-metrics-service.yaml")])
(defn-spec generate-config seq?
[config ::mon-cfg
auth ::mon-auth]
[]
[(yaml/load-as-edn "monitoring/namespace.yaml")
(yaml/load-as-edn "monitoring/prometheus-cluster-role.yaml")
(yaml/load-as-edn "monitoring/prometheus-cluster-role-binding.yaml")

View file

@ -22,6 +22,6 @@
(is (= 17
(count (cut/generate conf auth))))
(is (= 16
(count (cut/generate-config conf auth))))
(count (cut/generate-config))))
(is (= 1
(count (cut/generate-auth conf auth)))))