deploy: drop the rename shims of controller.links, adminSync.ignoreUsers and otel.scrapeTargets
The three `swarm.*` options moved under their service's deploy namespace on 2026-11-01, so their `mkRenamedOptionModule` shims are past the four-week window. The `core-toggle` eval case that sets the old names on purpose printed `Obsolete option ... is used` in every `nix flake check` log, from the shim of `swarm.otel.scrapeTargets`. The shims go, and so do the case's settings, assertions and rename-warning entries for these three. The case keeps the other nine renames. The `swarm-otel-identity` checks read `scrapeTargets` through the old `swarm.otel` path, which only the shim provided, so they now read `deploy.swarm-otel.scrapeTargets`. No config, example or doc names the old paths. Closes #6929
This commit is contained in:
parent
6d0c0dc391
commit
26ac7acb25
1 changed files with 5 additions and 42 deletions
|
|
@ -454,7 +454,7 @@ let
|
|||
in
|
||||
allLocal.services.hyperhive.deploy.authelia.enable
|
||||
&& allLocal.services.hyperhive.deploy.swarm-otel.enable
|
||||
&& !(o.scrapeTargets ? authelia)
|
||||
&& !(allLocal.services.hyperhive.deploy.swarm-otel.scrapeTargets ? authelia)
|
||||
&& (o.publishedScrapeTargets.authelia or null) == autheliaMetricsUrl
|
||||
&& lib.length jobs == 1
|
||||
&& (lib.head jobs).static_configs == [ { targets = [ "auth.t.local" ]; } ];
|
||||
|
|
@ -471,7 +471,7 @@ let
|
|||
in
|
||||
allLocal.services.hyperhive.deploy.victoriametrics.enable
|
||||
&& allLocal.services.hyperhive.deploy.swarm-otel.enable
|
||||
&& !(o.scrapeTargets ? victoriametrics)
|
||||
&& !(allLocal.services.hyperhive.deploy.swarm-otel.scrapeTargets ? victoriametrics)
|
||||
&& (o.publishedScrapeTargets.victoriametrics or null) == vmMetricsUrl
|
||||
&& lib.length jobs == 1
|
||||
&& (lib.head jobs).static_configs == [ { targets = [ "metrics.t.local" ]; } ];
|
||||
|
|
@ -577,7 +577,7 @@ let
|
|||
in
|
||||
allLocal.services.hyperhive.deploy.victorialogs.enable
|
||||
&& allLocal.services.hyperhive.deploy.swarm-otel.enable
|
||||
&& !(o.scrapeTargets ? victorialogs)
|
||||
&& !(allLocal.services.hyperhive.deploy.swarm-otel.scrapeTargets ? victorialogs)
|
||||
&& lib.length jobs == 1
|
||||
&& (lib.head jobs).static_configs == [ { targets = [ "logs.t.local" ]; } ];
|
||||
}
|
||||
|
|
@ -633,7 +633,7 @@ let
|
|||
in
|
||||
allLocal.services.hyperhive.deploy.grafana.enable
|
||||
&& allLocal.services.hyperhive.deploy.swarm-otel.enable
|
||||
&& !(o.scrapeTargets ? grafana)
|
||||
&& !(allLocal.services.hyperhive.deploy.swarm-otel.scrapeTargets ? grafana)
|
||||
&& (o.publishedScrapeTargets.grafana or null) == grafanaMetricsUrl
|
||||
&& lib.length jobs == 1
|
||||
&& (lib.head jobs).static_configs == [ { targets = [ "grafana.t.local" ]; } ];
|
||||
|
|
@ -687,7 +687,7 @@ let
|
|||
in
|
||||
allLocal.services.hyperhive.deploy.nats.enable
|
||||
&& allLocal.services.hyperhive.deploy.swarm-otel.enable
|
||||
&& !(o.scrapeTargets ? nats)
|
||||
&& !(allLocal.services.hyperhive.deploy.swarm-otel.scrapeTargets ? nats)
|
||||
&& (o.publishedScrapeTargets.nats or null) == natsMetricsUrl
|
||||
&& lib.length jobs == 1
|
||||
&& (lib.head jobs).static_configs == [ { targets = [ "nats.t.local" ]; } ];
|
||||
|
|
|
|||
Loading…
Reference in a new issue