Commit b5e4d4fe authored by Naseem's avatar Naseem Committed by Naseem

Add podAnnotations to backup pods.

Signed-off-by: 's avatarNaseem <naseem@transit.app>
parent b01c2822
apiVersion: v1
name: influxdb
version: 4.4.2
version: 4.4.3
appVersion: 1.7.10
description: Scalable datastore for metrics, events, and real-time analytics.
keywords:
......
......@@ -95,9 +95,12 @@ The command removes all the Kubernetes components associated with the chart and
| config.tls | [Details](https://docs.influxdata.com/influxdb/v1.7/administration/config/#tls) | {} |
| initScripts.enabled | Boolean flag to enable and disable initscripts. If the container finds any files with the extensions .sh or .iql inside of the /docker-entrypoint-initdb.d folder, it will execute them. The order they are executed in is determined by the shell. This is usually alphabetical order. | false |
| initScripts.scripts | Init scripts | {} |
| backup.enabled | Boolean flag to enable and disable backups. Currently, it backups the data on `azure` and `gcs`. | false |
| backup.schedule | Cron time | `0 0 * * *`. It means create a backup everyday at `00:00`. |
| backup.annotations | Annotations for backup | {} |
| backup.enabled | Enable backups, if `true` must configure one of the storage providers | `false` |
| backup.gcs | Google Cloud Storage config | `nil`
| backup.azure | Azure Blob Storage config | `nil`
| backup.schedule | Schedule to run jobs in cron format | `0 0 * * *` |
| backup.annotations | Annotations for backup cronjob | {} |
| backup.podAnnotations | Annotations for backup cronjob pods | {} |
The [full image documentation](https://hub.docker.com/_/influxdb/) contains more information about running InfluxDB in docker.
......
......@@ -15,6 +15,10 @@ spec:
spec:
template:
metadata:
{{- if .Values.backup.podAnnotations }}
annotations:
{{ toYaml .Values.backup.podAnnotations | nindent 12 }}
{{- end }}
labels:
{{- include "influxdb.selectorLabels" . | nindent 12 }}
spec:
......
......@@ -228,6 +228,7 @@ backup:
enabled: false
schedule: "0 0 * * *"
annotations: {}
podAnnotation: {}
## Google Cloud Storage
# gcs:
......
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