Commit d6264920 authored by Holger Mauermann's avatar Holger Mauermann Committed by Kubernetes Prow Robot

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

* [stable/influxdb] fix gcs backup destination Signed-off-by: 's avatarHolger Mauermann <holger@mauermann.org> Signed-off-by: 's avatarHolger Mauermann <holger.mauermann@kiwigrid.com> * [stable/influxdb] make secret key field configurable Signed-off-by: 's avatarHolger Mauermann <holger@mauermann.org> Signed-off-by: 's avatarHolger Mauermann <holger.mauermann@kiwigrid.com> * [stable/influxdb] bump chart version Signed-off-by: 's avatarHolger Mauermann <holger@mauermann.org> Signed-off-by: 's avatarHolger Mauermann <holger.mauermann@kiwigrid.com>
parent d0067126
apiVersion: v1 apiVersion: v1
name: influxdb name: influxdb
version: 2.0.0 version: 2.0.1
appVersion: 1.7.6 appVersion: 1.7.6
description: Scalable datastore for metrics, events, and real-time analytics. description: Scalable datastore for metrics, events, and real-time analytics.
keywords: keywords:
......
...@@ -62,9 +62,9 @@ spec: ...@@ -62,9 +62,9 @@ spec:
- name: SRC_URL - name: SRC_URL
value: /backups value: /backups
- name: DST_URL - name: DST_URL
value: {{ .Values.gcs.backup.destination}} value: {{ .Values.backup.gcs.destination}}
- name: KEY_FILE - name: KEY_FILE
value: /var/secrets/google/key.json value: /var/secrets/google/{{ .Values.backup.gcs.serviceAccountSecretKey }}
{{- end }} {{- end }}
{{- if .Values.backup.azure }} {{- if .Values.backup.azure }}
- name: azure-cli - name: azure-cli
......
...@@ -291,9 +291,9 @@ backup: ...@@ -291,9 +291,9 @@ backup:
annotations: {} annotations: {}
## Google Cloud Storage ## Google Cloud Storage
## Secret is expected to have key stored in `key.json` field
# gcs: # gcs:
# serviceAccountSecret: influxdb-backup-key # serviceAccountSecret: influxdb-backup-key
# serviceAccountSecretKey: key.json
# destination: gs://bucket/influxdb # destination: gs://bucket/influxdb
## Azure ## Azure
......
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