Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Commit

Permalink
fixed pod annotations (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
terjesannum authored and seglo committed Nov 2, 2019
1 parent e23131e commit 2272cef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/kafka-lag-exporter/templates/040-Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ spec:
matchLabels:
app.kubernetes.io/name: {{ include "kafka-lag-exporter.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.podAnnotations }}
annotations:
{{ toYaml .Value.podAnnotations | indent 8 }}
{{- end }}
template:
metadata:
labels:
app.kubernetes.io/name: {{ include "kafka-lag-exporter.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.podAnnotations }}
annotations:
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
spec:
{{- if or .Values.watchers.strimzi .Values.serviceAccount.create }}
serviceAccountName: {{ include "kafka-lag-exporter.fullname" . }}-serviceaccount
Expand Down
2 changes: 2 additions & 0 deletions charts/kafka-lag-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ resources: {}
nodeSelector: {}
tolerations: []
affinity: {}
podAnnotations: {}
# foo: bar

prometheus:
serviceMonitor:
Expand Down

0 comments on commit 2272cef

Please sign in to comment.