adding pod annotations to comcast chart (#76)

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

View File

@ -1,6 +1,6 @@
apiVersion: v1 apiVersion: v1
name: comcast name: comcast
version: 1.0.6 version: 1.0.7
appVersion: 1.0.0 appVersion: 1.0.0
description: periodic comcast data usage checks and save the results to InfluxDB description: periodic comcast data usage checks and save the results to InfluxDB
keywords: keywords:

View File

@ -55,6 +55,7 @@ The following tables lists the configurable parameters of the Sentry chart and t
| `config.influxdb.ssl` | InfluxDB connection using SSL | `false` | | `config.influxdb.ssl` | InfluxDB connection using SSL | `false` |
| `config.comcast.username` | Comcast website login usernma | `someuser` | | `config.comcast.username` | Comcast website login usernma | `someuser` |
| `config.comcast.password` | Comcast website login password | `somepassword` | | `config.comcast.password` | Comcast website login password | `somepassword` |
| `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, 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 }}" chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: {{ .Release.Name }} release: {{ .Release.Name }}
heritage: {{ .Release.Service }} heritage: {{ .Release.Service }}
{{- if .Values.podAnnotations }}
annotations:
{{- range $key, $value := .Values.podAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec: spec:
selector: selector:
matchLabels: matchLabels:

View File

@ -34,3 +34,5 @@ config:
# username/password are mandatory and must be populated # username/password are mandatory and must be populated
username: someuser username: someuser
password: somepassword password: somepassword
podAnnotations: {}