Feature/kuberhealthy pod annotations (#11651)

* Allow addition of pod annotations

Signed-off-by: Aditya Sundaramurthy <aditya.sundaramurthy@gmail.com>

* document and bump chart

Signed-off-by: Aditya Sundaramurthy <aditya.sundaramurthy@gmail.com>
This commit is contained in:
Aditya Sundaramurthy
2019-02-28 03:01:42 -08:00
committed by Kubernetes Prow Robot
parent b4d174da9d
commit 42e184926c
4 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ appVersion: "v1.0.2"
home: https://comcast.github.io/kuberhealthy/
description: The official Helm chart for Kuberhealthy.
name: kuberhealthy
version: 1.2.0
version: 1.2.1
maintainers:
- name: integrii
email: eric.greer@comcast.com
+1
View File
@@ -54,6 +54,7 @@ deployment:
maxUnavailable: 1
imagePullPolicy: IfNotPresent
namespace: kuberhealthy
podAnnotations: {} # Annotations to be added to pods created by the deployment
command:
- /app/kuberhealthy
# use this to override location of the test-image, see: https://github.com/Comcast/kuberhealthy/blob/master/docs/FLAGS.md
@@ -20,6 +20,12 @@ spec:
type: RollingUpdate
template:
metadata:
{{- if .Values.deployment.podAnnotations }}
annotations:
{{- range $key, $value := .Values.deployment.podAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
labels:
app: {{ template "kuberhealthy.name" . }}
chart: {{ .Chart.Name }}
+1
View File
@@ -30,6 +30,7 @@ deployment:
maxSurge: 0
maxUnavailable: 1
imagePullPolicy: IfNotPresent
podAnnotations: {}
command:
- /app/kuberhealthy
# use this to override location of the test-image, see: https://github.com/Comcast/kuberhealthy/blob/master/docs/FLAGS.md