Skip to content

Commit

Permalink
fix(metrics): use latest stable image from repomd
Browse files Browse the repository at this point in the history
  • Loading branch information
gsanchietti committed Feb 27, 2025
1 parent 09bf62e commit f2f0dcf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/imageroot/usr/local/sbin/switch-leader
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ if install_metrics and node_id == self_id:
)

# Install prometheus and grafana on the leader node
module = "ghcr.io/nethserver/metrics:latest" # FIXME
module = "metrics"
result = agent.tasks.run("cluster", "add-module", data={
"image": module,
"node": node_id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ add1_module_failures = agent.tasks.runp_brief([
'node': NODE_ID,
}},
{"agent_id": "cluster", "action": "add-module", "data": {
'image': 'ghcr.io/nethserver/metrics:latest', #FIXME
'image': 'metrics',
'node': NODE_ID,
}},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if not is_metrics_installed:
# Install metrics module
add_module_failures = agent.tasks.runp_brief([
{"agent_id": "cluster", "action": "add-module", "data": {
'image': 'ghcr.io/nethserver/metrics:latest', #FIXME
'image': 'metrics',
'node': int(os.getenv("NODE_ID")),
}}],
endpoint = "redis://cluster-leader",
Expand Down

0 comments on commit f2f0dcf

Please sign in to comment.