Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions charts/kube-prometheus-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ customRules:

alertmanager:
alertmanagerSpec:
# Set the externalUrl to the control plane ingress endpoint so alert
# notifications and the Alertmanager UI reference a routable address
# instead of the in-cluster service URL. The actual endpoint is resolved
# at deploy time via the salt helper.
externalUrl: '__var__(salt.metalk8s_network.get_control_plane_ingress_endpoint())'

image:
registry: '__var__(repo.registry_endpoint)'
repository: '__image_no_reg__(alertmanager)'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80316,7 +80316,7 @@ spec:
alertmanagerConfigNamespaceSelector: {}
alertmanagerConfigSelector: {}
automountServiceAccountToken: true
externalUrl: http://prometheus-operator-alertmanager.metalk8s-monitoring:9093
externalUrl: {% endraw -%}{{ salt.metalk8s_network.get_control_plane_ingress_endpoint() }}{%- raw %}
Comment thread
JBWatenbergScality marked this conversation as resolved.
hostNetwork: false
image: {% endraw -%}{{ repo.registry_endpoint }}{%- raw %}/{% endraw -%}{{ build_image_name("alertmanager", False, False) }}{%- raw %}:v0.31.1
imagePullPolicy: IfNotPresent
Expand Down
Loading