Compare commits
2 Commits
rclone-buc
...
rclone-buc
| Author | SHA1 | Date | |
|---|---|---|---|
| f901d1574b | |||
| 73779ad42b |
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: rclone-bucket
|
name: rclone-bucket
|
||||||
version: 0.3.0
|
version: 0.4.1
|
||||||
description: Rclone CronJob to replicate buckets
|
description: Rclone CronJob to replicate buckets
|
||||||
keywords:
|
keywords:
|
||||||
- rclone-bucket
|
- rclone-bucket
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# rclone-bucket
|
# rclone-bucket
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
Rclone CronJob to replicate buckets
|
Rclone CronJob to replicate buckets
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@ Rclone CronJob to replicate buckets
|
|||||||
| cronJob | object | `{"backoffLimit":3,"parallelism":1,"schedule":"0 0 * * *","suspend":false,"timeZone":"America/Chicago"}` | CronJob configuration |
|
| cronJob | object | `{"backoffLimit":3,"parallelism":1,"schedule":"0 0 * * *","suspend":false,"timeZone":"America/Chicago"}` | CronJob configuration |
|
||||||
| image | object | `{"pullPolicy":"IfNotPresent","repository":"rclone/rclone","tag":"1.73.5@sha256:1619a625f845e169c34b952cf40c483c0392965b821c5155cde8cbfd35254a96"}` | Default image |
|
| image | object | `{"pullPolicy":"IfNotPresent","repository":"rclone/rclone","tag":"1.73.5@sha256:1619a625f845e169c34b952cf40c483c0392965b821c5155cde8cbfd35254a96"}` | Default image |
|
||||||
| nameOverride | string | `""` | Default pattern follows <pvcTarget>-backup |
|
| nameOverride | string | `""` | Default pattern follows <pvcTarget>-backup |
|
||||||
| prune | object | `{"ageToPrune":"90d","enabled":false}` | Enable prune job |
|
| prune | object | `{"ageToPrune":"90d","enabled":false,"exclude":"","include":""}` | Enable prune job |
|
||||||
| rclone | object | `{"destination":{"bucketName":"bucket","forcePathStyle":true,"providerType":"Other"},"providerType":"Other","source":{"bucketName":"bucket","forcePathStyle":true,"providerType":"Other"}}` | rclone configuration |
|
| rclone | object | `{"destination":{"bucketName":"bucket","forcePathStyle":true,"providerType":"Other"},"providerType":"Other","source":{"bucketName":"bucket","forcePathStyle":true,"providerType":"Other"}}` | rclone configuration |
|
||||||
| rclone.destination | object | `{"bucketName":"bucket","forcePathStyle":true,"providerType":"Other"}` | Destination configuration |
|
| rclone.destination | object | `{"bucketName":"bucket","forcePathStyle":true,"providerType":"Other"}` | Destination configuration |
|
||||||
| rclone.source | object | `{"bucketName":"bucket","forcePathStyle":true,"providerType":"Other"}` | Source configuration |
|
| rclone.source | object | `{"bucketName":"bucket","forcePathStyle":true,"providerType":"Other"}` | Source configuration |
|
||||||
|
|||||||
@@ -26,6 +26,14 @@ controllers:
|
|||||||
- --min-age
|
- --min-age
|
||||||
- {{ .Values.prune.ageToPrune }}
|
- {{ .Values.prune.ageToPrune }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.prune.include }}
|
||||||
|
- --include
|
||||||
|
- {{ .Values.prune.include }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.prune.exclude }}
|
||||||
|
- --exclude
|
||||||
|
- {{ .Values.prune.exclude }}
|
||||||
|
{{- end }}
|
||||||
- --verbose
|
- --verbose
|
||||||
env:
|
env:
|
||||||
- name: RCLONE_S3_PROVIDER
|
- name: RCLONE_S3_PROVIDER
|
||||||
|
|||||||
@@ -57,11 +57,11 @@ spec:
|
|||||||
- secretKey: {{ include "secret.envSecretKey" . }}
|
- secretKey: {{ include "secret.envSecretKey" . }}
|
||||||
remoteRef:
|
remoteRef:
|
||||||
key: {{ .Values.secret.externalSecret.destination.credentials.path }}
|
key: {{ .Values.secret.externalSecret.destination.credentials.path }}
|
||||||
property: {{ .Values.secret.externalSecret.destination.credentials.keyIdProperty }}
|
property: {{ .Values.secret.externalSecret.destination.credentials.secretKeyProperty }}
|
||||||
- secretKey: {{ include "secret.envRegion" . }}
|
- secretKey: {{ include "secret.envRegion" . }}
|
||||||
remoteRef:
|
remoteRef:
|
||||||
key: {{ .Values.secret.externalSecret.destination.credentials.path }}
|
key: {{ .Values.secret.externalSecret.destination.credentials.path }}
|
||||||
property: {{ .Values.secret.externalSecret.destination.credentials.keyIdProperty }}
|
property: {{ .Values.secret.externalSecret.destination.credentials.regionProperty }}
|
||||||
- secretKey: {{ include "secret.envDestEndpoint" . }}
|
- secretKey: {{ include "secret.envDestEndpoint" . }}
|
||||||
remoteRef:
|
remoteRef:
|
||||||
key: {{ .Values.secret.externalSecret.destination.config.path }}
|
key: {{ .Values.secret.externalSecret.destination.config.path }}
|
||||||
|
|||||||
@@ -38,6 +38,8 @@ rclone:
|
|||||||
prune:
|
prune:
|
||||||
enabled: false
|
enabled: false
|
||||||
ageToPrune: 90d
|
ageToPrune: 90d
|
||||||
|
include: ""
|
||||||
|
exclude: ""
|
||||||
|
|
||||||
# -- Secret configuration
|
# -- Secret configuration
|
||||||
secret:
|
secret:
|
||||||
|
|||||||
Reference in New Issue
Block a user