Skip to content

Commit 68d7a86

Browse files
committed
prevent empty annotations
1 parent 5746e03 commit 68d7a86

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

helm/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: k8s-event-logger-operator
33
description: This operator creates a logging pod that logs corev1.Event information as structured json log. The crd allows to configure the events to be logged.
44
type: application
5-
version: 1.13.5
6-
appVersion: v1.13.5
5+
version: 1.13.6
6+
appVersion: v1.13.6
77
sources:
88
- https://github.com/bakito/k8s-event-logger-operator
99
annotations:

helm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# k8s-event-logger-operator
22

3-
![Version: 1.13.5](https://img.shields.io/badge/Version-1.13.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.13.5](https://img.shields.io/badge/AppVersion-v1.13.5-informational?style=flat-square)
3+
![Version: 1.13.6](https://img.shields.io/badge/Version-1.13.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.13.6](https://img.shields.io/badge/AppVersion-v1.13.6-informational?style=flat-square)
44

55
This operator creates a logging pod that logs corev1.Event information as structured json log. The crd allows to configure the events to be logged.
66

helm/templates/deployment.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ spec:
1414
template:
1515
metadata:
1616
labels:
17-
{{- include "k8s-event-logger-operator.selectorLabels" . | nindent 8 }}
18-
{{- with .Values.extraPodLabels }}
19-
{{- toYaml . | nindent 8 }}
20-
{{- end }}
21-
annotations:
22-
{{- with .Values.extraPodAnnotations }}
23-
{{- toYaml . | nindent 8 }}
24-
{{- end }}
17+
{{- include "k8s-event-logger-operator.selectorLabels" . | nindent 8 }}
18+
{{- with .Values.extraPodLabels }}
19+
{{- toYaml . | nindent 8 }}
20+
{{- end }}
21+
{{- with .Values.extraPodAnnotations }}
22+
annotations:
23+
{{- toYaml . | nindent 8 }}
24+
{{- end }}
2525
spec:
2626
serviceAccountName: {{ include "k8s-event-logger-operator.serviceAccountName" . }}
2727
containers:

0 commit comments

Comments
 (0)