Add pod annotations on all deployments

This commit is contained in:
nilscan
2019-09-19 12:42:22 +12:00
parent 65e9a402cf
commit 93f9e51280
8 changed files with 21 additions and 0 deletions
+4
View File
@@ -20,6 +20,10 @@ spec:
labels:
app.kubernetes.io/name: {{ template "flagger.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
annotations:
{{- if .Values.podAnnotations }}
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
spec:
serviceAccountName: {{ template "flagger.serviceAccountName" . }}
affinity:
+2
View File
@@ -6,6 +6,8 @@ image:
pullPolicy: IfNotPresent
pullSecret:
podAnnotations: {}
metricsServer: "http://prometheus:9090"
# accepted values are istio, appmesh, nginx or supergloo:mesh.namespace (defaults to istio)
+3
View File
@@ -20,6 +20,9 @@ spec:
release: {{ .Release.Name }}
annotations:
prometheus.io/scrape: 'false'
{{- if .Values.podAnnotations }}
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
spec:
containers:
- name: {{ .Chart.Name }}
+2
View File
@@ -9,6 +9,8 @@ image:
tag: 6.2.5
pullPolicy: IfNotPresent
podAnnotations: {}
service:
type: ClusterIP
port: 80
@@ -18,6 +18,9 @@ spec:
app: {{ include "loadtester.name" . }}
annotations:
appmesh.k8s.aws/ports: "444"
{{- if .Values.podAnnotations }}
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
spec:
{{- if .Values.serviceAccountName }}
serviceAccountName: {{ .Values.serviceAccountName }}
+2
View File
@@ -5,6 +5,8 @@ image:
tag: 0.8.0
pullPolicy: IfNotPresent
podAnnotations: {}
logLevel: info
cmd:
timeout: 1h
+3
View File
@@ -21,6 +21,9 @@ spec:
app: {{ template "podinfo.fullname" . }}
annotations:
prometheus.io/scrape: 'true'
{{- if .Values.podAnnotations }}
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
spec:
terminationGracePeriodSeconds: 30
containers:
+2
View File
@@ -4,6 +4,8 @@ image:
tag: 2.0.0
pullPolicy: IfNotPresent
podAnnotations: {}
service:
type: ClusterIP
port: 9898