Skip to content

Commit

Permalink
fix: mongodump
Browse files Browse the repository at this point in the history
  • Loading branch information
jusa3 committed Oct 30, 2023
1 parent 5464980 commit 21f852a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion k8s/preview/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.4
version: 0.1.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion k8s/preview/templates/mongodump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
key: password
optional: false
command: [ "/bin/sh","-c" ]
args: [ "mongodump --host=$MONGO_HOST --username=$MONGO_USERNAME --password=$MONGO_PASSWORD --gzip --archive=mongodbdump$(date +%Y-%m-%d).archive.gz; s3cmd --host=${S3_HOST} --access_key=${S3_KEYID} --secret_key=${S3_KEY} --host-bucket=${S3_BUCKET}.${S3_HOST} put mongodbdump$(date +%Y-%m-%d).archive.gz s3://${S3_BUCKET}/mongodbdump$(date +%Y-%m-%d).archive.gz" ]
args: [ "mongodump --host=$MONGO_HOST --username=$MONGO_USERNAME --password=$MONGO_PASSWORD --authenticationDatabase admin --db feedback --gzip --archive=mongodbdump$(date +%Y-%m-%d).archive.gz; s3cmd --host=${S3_HOST} --access_key=${S3_KEYID} --secret_key=${S3_KEY} --host-bucket=${S3_BUCKET}.${S3_HOST} put mongodbdump$(date +%Y-%m-%d).archive.gz s3://${S3_BUCKET}/mongodbdump$(date +%Y-%m-%d).archive.gz" ]
restartPolicy: Never
backoffLimit: 4

Expand Down

0 comments on commit 21f852a

Please sign in to comment.