Split for generation of config and auth objects #4
2 changed files with 2 additions and 3 deletions
|
@ -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")
|
||||
|
|
|
@ -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)))))
|
||||
|
|
Loading…
Reference in a new issue