File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed
nix/cloud/nomadEnvs/cicero Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change 1010 inherit ( cell . library ) ociNamer ;
1111 inherit ( cell ) oci-images ;
1212 inherit ( inputs . cicero . packages ) cicero-entrypoint ;
13- inherit ( inputs . data-merge ) merge ;
13+ inherit ( inputs . data-merge ) merge append ;
1414 inherit ( inputs . nixpkgs ) writeText lib ;
1515
1616 subdomain =
115115 config = {
116116 image = "${ oci-images . cicero . imageName } :${ branch } " ;
117117 command = "${ cell . entrypoints . cicero } /bin/entrypoint" ;
118+ args = lib . flatten [
119+ [ "--victoriametrics-addr" "http://monitoring.node.consul:8428" ]
120+ [ "--prometheus-addr" "http://monitoring.node.consul:3100" ]
121+ [ "--transform" ( map ( t : t . destination ) transformers ) ]
122+ ] ;
118123 } ;
119124
120125 vault = {
@@ -279,23 +284,15 @@ in {
279284
280285 task . cicero . config = {
281286 ports = [ "http" ] ;
282- args = lib . flatten [
283- [ "--victoriametrics-addr" "http://monitoring.node.consul:8428" ]
284- [ "--prometheus-addr" "http://monitoring.node.consul:3100" ]
285- [ "--web-listen" ":8080" ]
286- [ "--transform" ( map ( t : t . destination ) transformers ) ]
287- ] ;
287+ args = append [ "--web-listen" ":8080" ] ;
288288 } ;
289289 } ;
290290
291291 group . cicero-nomad = merge commonGroup {
292292 count = 3 ;
293293
294294 task . cicero . config = {
295- args = lib . flatten [
296- [ "nomad" ]
297- [ "--transform" ( map ( t : t . destination ) transformers ) ]
298- ] ;
295+ args = append [ "nomad" ] ;
299296 } ;
300297 } ;
301298 } ;
You can’t perform that action at this time.
0 commit comments