mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
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:
committed by
Kubernetes Prow Robot
parent
b4d174da9d
commit
42e184926c
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user