-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apps sc: Added support for swift in rclone-sync.
- Loading branch information
1 parent
f1b2a2c
commit c3ab166
Showing
10 changed files
with
263 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ global: | |
- ${CK8S_ENVIRONMENT_NAME}-wc | ||
|
||
objectStorage: | ||
## Swift can be enabled separately for Harbor and Thanos only. | ||
## Swift can be enabled separately for Harbor, Thanos and rclone-sync only. | ||
# swift: | ||
# authVersion: 0 # auto detect | ||
# authUrl: set-me | ||
|
@@ -32,15 +32,19 @@ objectStorage: | |
enabled: false | ||
# dryrun: false | ||
|
||
## Options are 's3' | ||
## Options are 's3 and swift' | ||
type: none | ||
# secondaryUrl: set-me if regionEndpoint and or authUrl does not have all the relevant ips and or ports used for rclone-sync networkpolicy. | ||
# s3: | ||
# region: set-me | ||
# regionEndpoint: set-me | ||
# # Generally false when using AWS and Exoscale and true for other providers. | ||
# forcePathStyle: set-me | ||
# # v2Auth: false | ||
|
||
## rclone-sync needs authUrl with a /v3 suffix for swift. | ||
# swift: | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
linus-astrom
Author
Contributor
|
||
# authUrl: set-me | ||
# region: set-me | ||
## Sync all buckets under 'objectStorage.buckets' | ||
## These will be appended to 'buckets' using the same name from source as destination, and the default schedule. | ||
syncDefaultBuckets: false | ||
|
@@ -53,7 +57,8 @@ objectStorage: | |
# - source: source-bucket | ||
# # destination: destination-bucket # if unset it will be the same as 'source' | ||
# # schedule: 0 5 * * * # if unset it will be the same as 'defaultSchedule' | ||
|
||
# # sourceType: Optional but if included it uses s3 or swift | ||
# # destinationType: Optional but if included it uses s3 or swift. | ||
# Encrypt (symmetric) before syncing | ||
encrypt: | ||
enabled: false | ||
|
@@ -1107,10 +1112,8 @@ welcomingDashboard: | |
networkPolicies: | ||
global: | ||
objectStorageSwift: | ||
ips: | ||
- set-me-if-enabled | ||
ports: | ||
- set-me-if-enabled | ||
ips: [] # - set-me-if-enabled | ||
ports: [] # - set-me-if-enabled | ||
scApiserver: | ||
# usually private ip of control-plane nodes | ||
ips: | ||
|
@@ -1205,12 +1208,15 @@ networkPolicies: | |
|
||
rcloneSync: | ||
enabled: true | ||
destinationObjectStorage: | ||
ips: | ||
- "set-me-if-objectStorage.sync.enabled" | ||
ports: | ||
- 443 | ||
|
||
destinationObjectStorageS3: | ||
This comment has been minimized.
Sorry, something went wrong. |
||
ips: [] # - "set-me-if-objectStorage.sync.enabled-and-type-is-s3" | ||
ports: [] # - 443 | ||
destinationObjectStorageSwift: | ||
ips: [] # - "set-me-if-objectStorage.sync.enabled-and-type-is-swift" | ||
ports: [] # - 443 | ||
secondaryUrl: | ||
ips: [] # - "set-me-if-secondaryUrl-has-a-url" | ||
ports: [] # - 443 | ||
s3Exporter: | ||
enabled: true | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
migration scripts are missing to set this value, so the apply will fail