From a6ca1732948396d5ca34095bc846458b1eec5567 Mon Sep 17 00:00:00 2001 From: Yotam loewenbach Date: Thu, 1 Feb 2024 14:05:34 +0700 Subject: [PATCH] 2.0.1 --- charts/prometheus-alerts-migrator/Chart.yaml | 4 ++-- charts/prometheus-alerts-migrator/README.md | 7 +++++-- charts/prometheus-alerts-migrator/values.yaml | 3 +++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/charts/prometheus-alerts-migrator/Chart.yaml b/charts/prometheus-alerts-migrator/Chart.yaml index 8ab578ff..2aea049a 100644 --- a/charts/prometheus-alerts-migrator/Chart.yaml +++ b/charts/prometheus-alerts-migrator/Chart.yaml @@ -4,9 +4,9 @@ description: This Helm chart serves as a Kubernetes controller that automates th type: application -version: 2.0.0 +version: 2.0.1 -appVersion: "2.0.0" +appVersion: "1.0.3" maintainers: - name: yotamloe diff --git a/charts/prometheus-alerts-migrator/README.md b/charts/prometheus-alerts-migrator/README.md index e663569e..339179c4 100644 --- a/charts/prometheus-alerts-migrator/README.md +++ b/charts/prometheus-alerts-migrator/README.md @@ -32,7 +32,7 @@ The following table lists the configurable parameters of the Prometheus Alerts M | `replicaCount` | Number of controller replicas | 1 | | `image.repository` | Container image repository | logzio/prometheus-alerts-migrator | | `image.pullPolicy` | Container image pull policy | IfNotPresent | -| `image.tag`| Container image tag | v1.0.0 | +| `image.tag`| Container image tag | v1.0.3 | | `serviceAccount.create` | Specifies whether a service account should be created | true | | `serviceAccount.name` | The name of the service account to use | "" | | `config.rulesConfigMapAnnotation` | ConfigMap annotation for rules | prometheus.io/kube-rules | @@ -44,7 +44,7 @@ The following table lists the configurable parameters of the Prometheus Alerts M | `config.workerCount` | Number of workers | 2 | | `config.ignoreSlackText` | Ignore slack contact points `title` field. | false | | `config.ignoreSlackTitle` | Ignore slack contact points `text` field. | false | -| `rbac.rules` | Custom rules for the Kubernetes cluster role | [{apiGroups: [""], resources: ["configmaps"], verbs: ["get", "list", "watch"]}] | +| `rbac.rules` | Custom rules for the Kubernetes cluster role | [{apiGroups: [""], resources: ["configmaps"], verbs: ["get", "list", "watch"]},{apiGroups: [""], resources: ["events"], verbs: ["create", "get", "list", "watch"]}] | ## Secret Management @@ -165,6 +165,9 @@ data: ## Changelog +- v2.0.1 + - values.yaml: + - Added rbac permissions to create `events` - v2.0.0 - values.yaml: - Added: `config.alerManagerConfigMapAnnotation`, `config.ingnoreSlackText`, `config.ingnoreSlackTitle` values diff --git a/charts/prometheus-alerts-migrator/values.yaml b/charts/prometheus-alerts-migrator/values.yaml index 50d4ebb6..171c51e4 100644 --- a/charts/prometheus-alerts-migrator/values.yaml +++ b/charts/prometheus-alerts-migrator/values.yaml @@ -37,6 +37,9 @@ rbac: - apiGroups: [""] resources: ["configmaps"] verbs: ["get", "list", "watch"] + - apiGroups: [""] + resources: ["events"] + verbs: ["create", "get", "list", "watch"] resources: limits: