Skip to content

Commit 83c0a09

Browse files
RajMandaliyahatamzad-nv
authored andcommitted
fix: update stale carbide-api hostname in example config
test_parse_example_config parses this file directly and asserts its api_url matches the current canonical hostname -- missed updating this fixture when fixing the Default impl and its own direct test, which is what CI caught. Signed-off-by: RajMandaliya <rajmandaliya2249@gmail.com>
1 parent 0df7cb2 commit 83c0a09

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

crates/health/example/config.example.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ endpoint_discovery_interval = "5m"
3232
root_ca = "/var/run/secrets/spiffe.io/ca.crt"
3333
client_cert = "/var/run/secrets/spiffe.io/tls.crt"
3434
client_key = "/var/run/secrets/spiffe.io/tls.key"
35-
api_url = "https://carbide-api.forge-system.svc.cluster.local:1079"
35+
api_url = "https://nico-api.nico-system.svc.cluster.local:1079"
3636

3737
[[endpoint_sources.static_bmc_endpoints]]
3838
ip = "10.0.0.1"
@@ -156,31 +156,31 @@ include_alert_details = false
156156
root_ca = "/var/run/secrets/spiffe.io/ca.crt"
157157
client_cert = "/var/run/secrets/spiffe.io/tls.crt"
158158
client_key = "/var/run/secrets/spiffe.io/tls.key"
159-
api_url = "https://carbide-api.forge-system.svc.cluster.local:1079"
159+
api_url = "https://nico-api.nico-system.svc.cluster.local:1079"
160160
workers = 8
161161
skip_empty_reports = true
162162

163163
[sinks.rack_health_report]
164164
root_ca = "/var/run/secrets/spiffe.io/ca.crt"
165165
client_cert = "/var/run/secrets/spiffe.io/tls.crt"
166166
client_key = "/var/run/secrets/spiffe.io/tls.key"
167-
api_url = "https://carbide-api.forge-system.svc.cluster.local:1079"
167+
api_url = "https://nico-api.nico-system.svc.cluster.local:1079"
168168
workers = 2
169169
skip_empty_reports = true
170170

171171
[sinks.switch_health_report]
172172
root_ca = "/var/run/secrets/spiffe.io/ca.crt"
173173
client_cert = "/var/run/secrets/spiffe.io/tls.crt"
174174
client_key = "/var/run/secrets/spiffe.io/tls.key"
175-
api_url = "https://carbide-api.forge-system.svc.cluster.local:1079"
175+
api_url = "https://nico-api.nico-system.svc.cluster.local:1079"
176176
workers = 2
177177
skip_empty_reports = true
178178

179179
[sinks.power_shelf_health_report]
180180
root_ca = "/var/run/secrets/spiffe.io/ca.crt"
181181
client_cert = "/var/run/secrets/spiffe.io/tls.crt"
182182
client_key = "/var/run/secrets/spiffe.io/tls.key"
183-
api_url = "https://carbide-api.forge-system.svc.cluster.local:1079"
183+
api_url = "https://nico-api.nico-system.svc.cluster.local:1079"
184184
workers = 2
185185
skip_empty_reports = true
186186

0 commit comments

Comments
 (0)