Skip to content

Commit

Permalink
[stable/k8s-event-logger]: add args to chart (#609)
Browse files Browse the repository at this point in the history
add args to chart
  • Loading branch information
danielbonillaquiros authored Oct 4, 2024
1 parent acc17f2 commit b1a2ad1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/k8s-event-logger/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
appVersion: "2.1"
version: "1.1.7"
version: "1.1.8"
description: |
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).
Expand Down
3 changes: 2 additions & 1 deletion stable/k8s-event-logger/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# k8s-event-logger

![Version: 1.1.7](https://img.shields.io/badge/Version-1.1.7-informational?style=flat-square) ![AppVersion: 2.1](https://img.shields.io/badge/AppVersion-2.1-informational?style=flat-square)
![Version: 1.1.8](https://img.shields.io/badge/Version-1.1.8-informational?style=flat-square) ![AppVersion: 2.1](https://img.shields.io/badge/AppVersion-2.1-informational?style=flat-square)

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).

Expand Down Expand Up @@ -59,6 +59,7 @@ helm install my-release deliveryhero/k8s-event-logger -f values.yaml
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| annotations | object | `{}` | |
| args | list | `[]` | |
| containerName | string | `"k8s-event-logger"` | |
| env | object | `{}` | A map of environment variables |
| fullnameOverride | string | `""` | |
Expand Down
4 changes: 4 additions & 0 deletions stable/k8s-event-logger/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ spec:
- name: {{ $key }}
value: {{ $value | quote }}
{{- end }}
{{- with .Values.args }}
args:
{{- toYaml . | nindent 12 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
1 change: 1 addition & 0 deletions stable/k8s-event-logger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ resources:

# env -- A map of environment variables
env: {}
args: []

securityContext: {}

Expand Down

0 comments on commit b1a2ad1

Please sign in to comment.