Commit bf199854 authored by Steve Chung's avatar Steve Chung Committed by Kubernetes Prow Robot

stable/telegraf add podAnnotations (#13237)

parent fdccaac0
name: telegraf name: telegraf
version: 1.0.0 version: 1.1.0
appVersion: 1.9 appVersion: 1.9
deprecated: false deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics. description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
...@@ -17,6 +17,10 @@ spec: ...@@ -17,6 +17,10 @@ spec:
labels: labels:
app.kubernetes.io/name: {{ include "telegraf.name" . }} app.kubernetes.io/name: {{ include "telegraf.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.podAnnotations }}
annotations:
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
spec: spec:
containers: containers:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
......
...@@ -9,6 +9,8 @@ image: ...@@ -9,6 +9,8 @@ image:
tag: "1.9-alpine" tag: "1.9-alpine"
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
podAnnotations: {}
## Configure resource requests and limits ## Configure resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/ ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
resources: {} resources: {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment