Skip to content

Commit

Permalink
fix(base-cluster/monitoring): only roll out alertmanager oauth-proxy …
Browse files Browse the repository at this point in the history
…when alertmanager is enabled 🤣
  • Loading branch information
cwrau committed Sep 19, 2024
1 parent 515ce2d commit 5edd2bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{- if include "base-cluster.monitoring.authenticated-ingress.enabled" (dict "name" "prometheus" "context" .) -}}
{{- $backends = append $backends (dict "host" "prometheus" "port" 9090) -}}
{{- end -}}
{{- if include "base-cluster.monitoring.authenticated-ingress.enabled" (dict "name" "alertmanager" "context" .) -}}
{{- if and (include "base-cluster.prometheus-stack.alertmanager.enabled" .) (include "base-cluster.monitoring.authenticated-ingress.enabled" (dict "name" "alertmanager" "context" .)) -}}
{{- $backends = append $backends (dict "host" "alertmanager" "port" 9093) -}}
{{- end -}}
{{- range $backend := $backends }}
Expand Down

0 comments on commit 5edd2bd

Please sign in to comment.