mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +00:00
adding pod annotations to modem-stats chart (#77)
Signed-off-by: Jeff Billimek <jeff@billimek.com>
This commit is contained in:
parent
1ed56e9f26
commit
efd1200716
@ -1,6 +1,6 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
name: modem-stats
|
name: modem-stats
|
||||||
version: 1.0.7
|
version: 1.0.8
|
||||||
appVersion: 1.0.0
|
appVersion: 1.0.0
|
||||||
description: periodic cable modem data collection and save the results to InfluxDB
|
description: periodic cable modem data collection and save the results to InfluxDB
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -50,6 +50,7 @@ The following tables lists the configurable parameters of the Sentry chart and t
|
|||||||
| `config.influxdb.password` | InfluxDB password | `` |
|
| `config.influxdb.password` | InfluxDB password | `` |
|
||||||
| `config.influxdb.ssl` | InfluxDB connection using SSL | `false` |
|
| `config.influxdb.ssl` | InfluxDB connection using SSL | `false` |
|
||||||
| `config.modem.url` | sb6183 stats URL page | `http://192.168.100.1/RgConnect.asp` |
|
| `config.modem.url` | sb6183 stats URL page | `http://192.168.100.1/RgConnect.asp` |
|
||||||
|
| `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,
|
||||||
|
|
||||||
|
@ -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:
|
||||||
|
@ -32,3 +32,5 @@ config:
|
|||||||
ssl: false
|
ssl: false
|
||||||
modem:
|
modem:
|
||||||
url: http://192.168.100.1/RgConnect.asp
|
url: http://192.168.100.1/RgConnect.asp
|
||||||
|
|
||||||
|
podAnnotations: {}
|
||||||
|
Loading…
Reference in New Issue
Block a user