Skip to content

Commit

Permalink
Merge pull request #432 from logzio/prometheus-alert-migrator-v1.0.1
Browse files Browse the repository at this point in the history
2.0.1
  • Loading branch information
yotamloe authored Mar 10, 2024
2 parents dc13885 + a6ca173 commit 75e2a78
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/prometheus-alerts-migrator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions charts/prometheus-alerts-migrator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand All @@ -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

Expand Down Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions charts/prometheus-alerts-migrator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ rbac:
- apiGroups: [""]
resources: ["configmaps"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["events"]
verbs: ["create", "get", "list", "watch"]

resources:
limits:
Expand Down

0 comments on commit 75e2a78

Please sign in to comment.