adding pod annotations to speedtest chart (#78)

Signed-off-by: Jeff Billimek <jeff@billimek.com>
This commit is contained in:
Jeff Billimek 2019-10-07 13:40:18 -04:00 committed by GitHub
parent 897ba1e981
commit 6884ae9cde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 1 deletions

View File

@ -1,6 +1,6 @@
apiVersion: v1
name: speedtest
version: 1.1.7
version: 1.1.8
appVersion: 1.0.0
description: periodic speedtest and save the results to InfluxDB
keywords:

View File

@ -51,6 +51,8 @@ The following tables lists the configurable parameters of the Sentry chart and t
| `config.influxdb.password` | InfluxDB password | `` |
| `config.influxdb.ssl` | InfluxDB connection using SSL | `false` |
| `config.speedtest.server` | server to use for speedtest - leave blank to auto-pick | `` |
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,

View File

@ -7,6 +7,12 @@ metadata:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
{{- if .Values.podAnnotations }}
annotations:
{{- range $key, $value := .Values.podAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec:
selector:
matchLabels:

View File

@ -33,3 +33,5 @@ config:
speedtest:
# Leave blank to auto pick server
server:
podAnnotations: {}