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 Oct 31, 2024
1 parent bdabbd8 commit 166fe22
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 166fe22

Please sign in to comment.