Skip to content

Commit

Permalink
feat(alerts): allow cors delete on alertmanager ingress (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardtief committed Aug 21, 2024
1 parent 0971b5c commit a27070c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion alerts/charts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ maintainers:
name: alerts
sources:
- https://github.com/cloudoperators/greenhouse-extensions
version: 0.12.1
version: 0.12.2
keywords:
- prometheus-alertmanager
dependencies:
Expand Down
3 changes: 3 additions & 0 deletions alerts/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ alerts:
nginx.ingress.kubernetes.io/auth-tls-secret: "{{ $.Release.Namespace }}/{{ $.Release.Namespace }}-ca-bundle"
nginx.ingress.kubernetes.io/auth-tls-verify-client: "true"
nginx.ingress.kubernetes.io/auth-tls-verify-depth: "3"
nginx.ingress.kubernetes.io/cors-allow-headers: Content-Type
nginx.ingress.kubernetes.io/cors-allow-methods: DELETE
nginx.ingress.kubernetes.io/enable-cors: "true"
ingressClassName: nginx

## Settings affecting alertmanagerSpec
Expand Down
4 changes: 2 additions & 2 deletions alerts/plugindefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ kind: PluginDefinition
metadata:
name: alerts
spec:
version: 2.0.0
version: 2.0.1
weight: 0
displayName: Alerts
description: The Alerts Plugin consists of both Prometheus Alertmanager and Supernova, the holistic alert management UI
Expand All @@ -15,7 +15,7 @@ spec:
helmChart:
name: alerts
repository: oci://ghcr.io/cloudoperators/greenhouse-extensions/charts
version: 0.12.0
version: 0.12.2
uiApplication:
name: supernova
version: "latest"
Expand Down

0 comments on commit a27070c

Please sign in to comment.