From cee86d8cd25f67180906a1543c3c126b7b655b71 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Wed, 4 Oct 2023 15:57:13 -0500 Subject: [PATCH] Upgrading alert manager app template --- .../alertmanager/app/helmrelease.yaml | 29 +++++++++++-------- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/kubernetes/apps/monitoring/alertmanager/app/helmrelease.yaml b/kubernetes/apps/monitoring/alertmanager/app/helmrelease.yaml index f2cfe7a..c64eeb1 100644 --- a/kubernetes/apps/monitoring/alertmanager/app/helmrelease.yaml +++ b/kubernetes/apps/monitoring/alertmanager/app/helmrelease.yaml @@ -10,7 +10,7 @@ spec: chart: spec: chart: app-template - version: 1.5.1 + version: 2.0.1 interval: 30m sourceRef: kind: HelmRepository @@ -21,11 +21,14 @@ spec: type: statefulset annotations: reloader.stakater.com/auto: "true" - - image: - repository: quay.io/prometheus/alertmanager - tag: main@sha256:7c060ae2a86177fbb4106fddcdd9f2cd494d4415b67ccda71a9fdf11f52e825b - + controllers: + main: + containers: + main: + image: + repository: quay.io/prometheus/alertmanager + tag: main@sha256:7c060ae2a86177fbb4106fddcdd9f2cd494d4415b67ccda71a9fdf11f52e825b + pullPolicy: IfNotPresent podAnnotations: reloader.stakater.com/auto: "true" @@ -37,13 +40,15 @@ spec: ingress: main: - enabled: true - ingressClassName: nginx + classname: nginx hosts: - host: &host alertmanager.valinor.social paths: - path: / pathType: Prefix + service: + name: main + port: http tls: - hosts: - *host @@ -53,14 +58,14 @@ spec: enabled: true type: configMap name: alertmanager-configmap - mountPath: /etc/alertmanager - readOnly: true + globalMounts: + - path: /etc/alertmanager secrets: enabled: true type: secret name: alertmanager-secret - mountPath: /etc/secrets - readOnly: true + globalMounts: + - path: /etc/secrets resources: requests: