Skip to content

Commit

Permalink
Multena: Grafana Alerting (#459)
Browse files Browse the repository at this point in the history
Enables Alerting for Grafana in Multena
  • Loading branch information
Lucostus authored Jan 3, 2025
1 parent 3f6b9ba commit 4646a02
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/gp-multena/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.5.4
version: 1.7.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: 0.6.3
appVersion: 0.7.0
8 changes: 8 additions & 0 deletions infra/gp-multena/templates/configmaps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ data:
bypass: {{ .Values.proxy.admin.bypass }}
group: {{ .Values.proxy.admin.group }}
alert:
enabled: {{ .Values.proxy.alert.enabled }}
token_header: {{ .Values.proxy.alert.tokenHeader }}
alert_cert_url: {{ .Values.proxy.alert.certUrl }}
alert_cert: {{ .Values.proxy.alert.cert | quote }}
{{- if .Values.proxy.db.enabled }}
db:
enabled: true
Expand All @@ -43,6 +49,7 @@ data:
use_mutual_tls: {{ .Values.tls.thanos.enabled }}
cert: "/etc/secrets/ca/thanos/{{ .Values.tls.thanos.cert }}"
key: "/etc/secrets/ca/thanos/{{ .Values.tls.thanos.key }}"
actor_header: {{ .Values.proxy.thanos.actorHeader }}
headers:
{{- range $key, $value := .Values.proxy.thanos.headers }}
{{ $key }}: {{ $value }}
Expand All @@ -54,6 +61,7 @@ data:
use_mutual_tls: {{ .Values.tls.loki.enabled }}
cert: "/etc/secrets/ca/loki/{{ .Values.tls.loki.cert }}"
key: "/etc/secrets/ca/loki/{{ .Values.tls.loki.key }}"
actor_header: {{ .Values.proxy.loki.actorHeader }}
headers:
{{- range $key, $value := .Values.proxy.loki.headers }}
{{ $key }}: {{ $value }}
Expand Down
6 changes: 6 additions & 0 deletions infra/gp-multena/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,14 @@ proxy:
loki:
url: https://loki-query-frontend-http.openshift-logging.svc.cluster.local:3100
tenantLabel: kubernetes_namespace_name
actorHeader: X-Loki-Actor-Path
headers:
X-Scope-OrgID: application
alert:
enabled: false # enable alerting
tokenHeader: X-Multena-alert # header to use for the token
certUrl: https://sso.play.run.gepardec.com/realms/internal/protocol/openid-connect/certs
cert: '' # local jwks cert
db:
enabled: false # enable mysql label provider
user: multitenant
Expand Down

0 comments on commit 4646a02

Please sign in to comment.