Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
influxdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
influxdb
Commits
1be78024
Commit
1be78024
authored
Nov 25, 2020
by
Manuel Hoffmann
Committed by
David McKay
Nov 30, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add rm operation after backup upload. Increase influxdb chart version.
parent
b1765d03
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Chart.yaml
charts/influxdb/Chart.yaml
+1
-1
backup-cronjob.yaml
charts/influxdb/templates/backup-cronjob.yaml
+3
-0
No files found.
charts/influxdb/Chart.yaml
View file @
1be78024
apiVersion
:
v1
name
:
influxdb
version
:
4.8.
9
version
:
4.8.
10
appVersion
:
1.8.0
description
:
Scalable datastore for metrics, events, and real-time analytics.
keywords
:
...
...
charts/influxdb/templates/backup-cronjob.yaml
View file @
1be78024
...
...
@@ -76,6 +76,7 @@ spec:
gcloud auth activate-service-account --key-file $KEY_FILE
fi
gsutil -m cp -r /backup/* "$DST_URL"
rm -rf /backup/*
volumeMounts
:
-
name
:
backup
mountPath
:
/backup
...
...
@@ -103,6 +104,7 @@ spec:
-
|
az storage container create --name "$DST_CONTAINER"
az storage blob upload-batch --destination "$DST_CONTAINER" --destination-path "$DST_PATH" --source "$SRC_URL"
rm -rf /backup/*
volumeMounts
:
-
name
:
backup
mountPath
:
/backup
...
...
@@ -130,6 +132,7 @@ spec:
-
'
-c'
-
|
aws {{- if .Values.backup.s3.endpointUrl }} --endpoint-url={{ .Values.backup.s3.endpointUrl }} {{- end }} s3 cp --recursive "$SRC_URL" "$DST_URL"
rm -rf /backup/*
volumeMounts
:
-
name
:
backup
mountPath
:
/backup
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment