Skip to content

Commit b088955

Browse files
authored
[stable/k8s-event-logger] Add events.k8s.io API group to cluster role (#788)
Add permissions for the events.k8s.io API group in the ClusterRole to allow the event logger to access events from the Events API group in addition to core API events. Combined both API groups into a single rule for cleaner configuration.
1 parent 3d219a3 commit b088955

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

stable/k8s-event-logger/Chart.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
appVersion: "2.4"
3-
version: 1.1.10
3+
version: 1.2.0
44
description: |
55
This chart runs a pod that simply watches Kubernetes Events and logs them to stdout in JSON to be collected and stored by your logging solution, e.g. [fluentd](https://github.com/helm/charts/tree/master/stable/fluentd) or [fluent-bit](https://github.com/helm/charts/tree/master/stable/fluent-bit).
66
@@ -17,16 +17,16 @@ description: |
1717
home: https://github.com/max-rocket-internet/k8s-event-logger
1818
name: k8s-event-logger
1919
maintainers:
20-
- name: max-rocket-internet
21-
url: https://github.com/max-rocket-internet
20+
- name: max-rocket-internet
21+
url: https://github.com/max-rocket-internet
2222
engine: gotpl
2323
icon: https://github.com/kubernetes/kubernetes/raw/master/logo/logo.png
2424
keywords:
25-
- events
26-
- logging
27-
- Auditing
25+
- events
26+
- logging
27+
- Auditing
2828
sources:
29-
- https://github.com/max-rocket-internet/k8s-event-logger
29+
- https://github.com/max-rocket-internet/k8s-event-logger
3030

3131
annotations:
3232
artifacthub.io/links: |

stable/k8s-event-logger/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# k8s-event-logger
22

3-
![Version: 1.1.10](https://img.shields.io/badge/Version-1.1.10-informational?style=flat-square) ![AppVersion: 2.4](https://img.shields.io/badge/AppVersion-2.4-informational?style=flat-square)
3+
![Version: 1.2.0](https://img.shields.io/badge/Version-1.2.0-informational?style=flat-square) ![AppVersion: 2.4](https://img.shields.io/badge/AppVersion-2.4-informational?style=flat-square)
44

55
This chart runs a pod that simply watches Kubernetes Events and logs them to stdout in JSON to be collected and stored by your logging solution, e.g. [fluentd](https://github.com/helm/charts/tree/master/stable/fluentd) or [fluent-bit](https://github.com/helm/charts/tree/master/stable/fluent-bit).
66

@@ -28,7 +28,7 @@ helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/k8s-event-lo
2828
To install a specific version of this chart:
2929

3030
```console
31-
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/k8s-event-logger --version 1.1.10
31+
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/k8s-event-logger --version 1.2.0
3232
```
3333

3434
To install the chart with the release name `my-release`:

stable/k8s-event-logger/templates/clusterrole.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ metadata:
66
app.kubernetes.io/name: {{ include "k8s-event-logger.name" . }}
77
{{- include "k8s-event-logger.labels" . | nindent 4 }}
88
rules:
9-
- apiGroups: [""]
9+
- apiGroups: ["", "events.k8s.io"]
1010
resources: ["events"]
1111
verbs: ["get", "list", "watch"]

0 commit comments

Comments
 (0)