[stable/influxdb] Fix backups to GCS (#18274)

* [stable/influxdb] fix gcs backup destination

Signed-off-by: Holger Mauermann <holger@mauermann.org>
Signed-off-by: Holger Mauermann <holger.mauermann@kiwigrid.com>

* [stable/influxdb] make secret key field configurable

Signed-off-by: Holger Mauermann <holger@mauermann.org>
Signed-off-by: Holger Mauermann <holger.mauermann@kiwigrid.com>

* [stable/influxdb] bump chart version

Signed-off-by: Holger Mauermann <holger@mauermann.org>
Signed-off-by: Holger Mauermann <holger.mauermann@kiwigrid.com>
This commit is contained in:
Holger Mauermann
2019-10-30 18:55:37 -07:00
committed by Kubernetes Prow Robot
parent aa409f8a52
commit 3cd3db9a92
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: influxdb
version: 2.0.0
version: 2.0.1
appVersion: 1.7.6
description: Scalable datastore for metrics, events, and real-time analytics.
keywords:
@@ -62,9 +62,9 @@ spec:
- name: SRC_URL
value: /backups
- name: DST_URL
value: {{ .Values.gcs.backup.destination}}
value: {{ .Values.backup.gcs.destination}}
- name: KEY_FILE
value: /var/secrets/google/key.json
value: /var/secrets/google/{{ .Values.backup.gcs.serviceAccountSecretKey }}
{{- end }}
{{- if .Values.backup.azure }}
- name: azure-cli
+1 -1
View File
@@ -291,9 +291,9 @@ backup:
annotations: {}
## Google Cloud Storage
## Secret is expected to have key stored in `key.json` field
# gcs:
# serviceAccountSecret: influxdb-backup-key
# serviceAccountSecretKey: key.json
# destination: gs://bucket/influxdb
## Azure