Skip to content

Commit 52df6b1

Browse files
authored
Fix fatimage build without alertmanager secret (#655)
* fix fatimage build without secrets * bump CI image
1 parent 986a6bc commit 52df6b1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"cluster_image": {
3-
"RL8": "openhpc-RL8-250422-1328-1a6eff86",
4-
"RL9": "openhpc-RL9-250422-1328-1a6eff86"
3+
"RL8": "openhpc-RL8-250423-1606-b61e2f1a",
4+
"RL9": "openhpc-RL9-250423-1606-b61e2f1a"
55
}
66
}

environments/common/inventory/group_vars/all/prometheus.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ prometheus_alertmanager_config_default:
1515
- "{{ alertmanager_address }}:{{ alertmanager_port }}"
1616
basic_auth:
1717
username: alertmanager
18-
password: "{{ vault_alertmanager_admin_password }}"
18+
# cloudalchemy.prometheus/preflight checks this config so it must be
19+
# templatable even during build when it is not used
20+
password: "{{ vault_alertmanager_admin_password | default('UNDEFINED') }}"
1921

2022
prometheus_alertmanager_config_extra: []
2123
prometheus_alertmanager_config: "{{ (prometheus_alertmanager_config_default if groups['alertmanager'] else []) + prometheus_alertmanager_config_extra }}"

0 commit comments

Comments
 (0)