adding pod annotations to uptimerobot chart (#79)

Signed-off-by: Jeff Billimek <jeff@billimek.com>
This commit is contained in:
Jeff Billimek 2019-10-07 13:38:52 -04:00 committed by GitHub
parent efd1200716
commit 897ba1e981
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: uptimerobot
version: 1.1.10
version: 1.1.11
appVersion: 1.1.0
description: A tool to get statistics from Uptime Robot and log it into InfluxDB
keywords:

View File

@ -53,6 +53,8 @@ The following tables lists the configurable parameters of the Sentry chart and t
| `config.influxdb.username` | InfluxDB username | `` |
| `config.influxdb.password` | InfluxDB password | `` |
| `config.uptimerobot.apikey` | uptimerobot API key (REQUIRED) | `someapikey` |
| `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

@ -34,3 +34,5 @@ config:
apikey: someapikey
# logs_limit: 100
# response_times_limit: 100
podAnnotations: {}