Skip to content

Conversation

sagor999
Copy link
Contributor

This is based on:
#873

Resolved conflicts that original PR had.
@FxKu Would appreciate if you will have time to take a look at this one and hopefully approve it for merging.

@FxKu FxKu added this to the 1.6 milestone Oct 16, 2020
@FxKu
Copy link
Member

FxKu commented Oct 18, 2020

I'm fine with these changes. Just wonder if the AWS default should be called s3 and not aws. Will poll my colleagues 😄

@sdudoladov
Copy link
Member

👍

S3AccessKeyID string `json:"logical_backup_s3_access_key_id,omitempty"`
S3SecretAccessKey string `json:"logical_backup_s3_secret_access_key,omitempty"`
S3SSE string `json:"logical_backup_s3_sse,omitempty"`
GoogleApplicationCredentials string `json:"logical_backup_google_application_credentials,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be ..Path or ...File ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Jan-M Hm. Technically it should be Path, since it refers to a path where google credentials are.
But, in AWSGCPConfiguration it is also simply gcp_credentials:

GCPCredentials string `json:"gcp_credentials,omitempty"`

So if we were to update it here, we should probably update it there too? But that will be a breaking change then.
What do you think?

@cambierr
Copy link

Even if this is not directly related, what about using a tool like rclone to export the backups ?

This would make it possible to support S3 / GCS / Openstack Swift / ... transparently by just injecting the required env vars ?

@Jan-M
Copy link
Member

Jan-M commented Dec 11, 2020

👍

@Jan-M
Copy link
Member

Jan-M commented Dec 11, 2020

@cambierr sure in theory we / I do consider it desireable that we have job/pod specs that others can leverage by providing customer docker images.

@Jan-M Jan-M merged commit fbd0489 into zalando:master Dec 16, 2020
@sagor999 sagor999 deleted the backup-gcs branch December 16, 2020 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants