Unverified Commit 12f45d78 authored by Jakub Krzywda's avatar Jakub Krzywda Committed by GitHub

Add extraContainers option for running custom sidecar workloads in the InfluxDB pod (#144)

* feat: Add extraContainers option for running custom sidecar workloads in the InfluxDB pod * chore: bump version Co-authored-by: 's avatarDavid McKay <david@rawkode.com>
parent 6012cb98
apiVersion: v1 apiVersion: v1
name: influxdb name: influxdb
version: 4.8.6 version: 4.8.7
appVersion: 1.8.0 appVersion: 1.8.0
description: Scalable datastore for metrics, events, and real-time analytics. description: Scalable datastore for metrics, events, and real-time analytics.
keywords: keywords:
......
...@@ -83,6 +83,7 @@ The following table lists configurable parameters, their descriptions, and their ...@@ -83,6 +83,7 @@ The following table lists configurable parameters, their descriptions, and their
| env | environment variables for influxdb container | {} | | env | environment variables for influxdb container | {} |
| volumes | `volumes` stanza(s) to be used in the main container | nil | | volumes | `volumes` stanza(s) to be used in the main container | nil |
| mountPoints | `volumeMount` stanza(s) to be used in the main container | nil | | mountPoints | `volumeMount` stanza(s) to be used in the main container | nil |
| extraContainers | Additional containers to be added to the pod | {} |
| config.reporting_disabled | [Details](https://docs.influxdata.com/influxdb/v1.7/administration/config/#reporting-disabled-false) | false | | config.reporting_disabled | [Details](https://docs.influxdata.com/influxdb/v1.7/administration/config/#reporting-disabled-false) | false |
| config.rpc | RPC address for backup and storage | {} | | config.rpc | RPC address for backup and storage | {} |
| config.meta | [Details](https://docs.influxdata.com/influxdb/v1.7/administration/config/#meta) | {} | | config.meta | [Details](https://docs.influxdata.com/influxdb/v1.7/administration/config/#meta) | {} |
......
...@@ -130,6 +130,9 @@ spec: ...@@ -130,6 +130,9 @@ spec:
{{- if .Values.mountPoints }} {{- if .Values.mountPoints }}
{{ toYaml .Values.mountPoints | indent 8 }} {{ toYaml .Values.mountPoints | indent 8 }}
{{- end }} {{- end }}
{{- if .Values.extraContainers }}
{{ toYaml .Values.extraContainers | indent 6}}
{{- end }}
volumes: volumes:
- name: config - name: config
configMap: configMap:
......
...@@ -185,6 +185,11 @@ ingress: ...@@ -185,6 +185,11 @@ ingress:
# mountPath: /etc/ssl/certs/selfsigned/ # mountPath: /etc/ssl/certs/selfsigned/
# readOnly: true # readOnly: true
## Additional containers to be added to the pod.
extraContainers: {}
# - name: my-sidecar
# image: nginx:latest
## Use an alternate scheduler, e.g. "stork". ## Use an alternate scheduler, e.g. "stork".
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/ ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
## ##
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment