feat: migrate to new chart
This commit is contained in:
@@ -13,6 +13,7 @@ sources:
|
|||||||
- https://github.com/cloudnative-pg/postgres-containers/pkgs/container/postgresql
|
- https://github.com/cloudnative-pg/postgres-containers/pkgs/container/postgresql
|
||||||
- https://github.com/cloudnative-pg/charts/tree/main/charts/cloudnative-pg
|
- https://github.com/cloudnative-pg/charts/tree/main/charts/cloudnative-pg
|
||||||
- https://github.com/cloudnative-pg/charts/tree/main/charts/plugin-barman-cloud
|
- https://github.com/cloudnative-pg/charts/tree/main/charts/plugin-barman-cloud
|
||||||
|
- https://gitea.alexlebens.dev/alexlebens/helm-charts/src/branch/main/charts/rclone-bucket
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: alexlebens
|
- name: alexlebens
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -22,6 +23,14 @@ dependencies:
|
|||||||
- name: plugin-barman-cloud
|
- name: plugin-barman-cloud
|
||||||
version: 0.6.0
|
version: 0.6.0
|
||||||
repository: https://cloudnative-pg.io/charts/
|
repository: https://cloudnative-pg.io/charts/
|
||||||
|
- name: rclone-bucket
|
||||||
|
alias: rclone-postgres-backups-remote
|
||||||
|
repository: oci://harbor.alexlebens.net/helm-charts
|
||||||
|
version: 0.4.1
|
||||||
|
- name: rclone-bucket
|
||||||
|
alias: rclone-postgres-backups-external
|
||||||
|
repository: oci://harbor.alexlebens.net/helm-charts
|
||||||
|
version: 0.4.1
|
||||||
icon: https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg.github.io/refs/heads/main/assets/images/hero_image.png
|
icon: https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg.github.io/refs/heads/main/assets/images/hero_image.png
|
||||||
# renovate: datasource=github-releases depName=cloudnative-pg/cloudnative-pg
|
# renovate: datasource=github-releases depName=cloudnative-pg/cloudnative-pg
|
||||||
appVersion: 1.29.0
|
appVersion: 1.29.0
|
||||||
|
|||||||
@@ -14,3 +14,60 @@ plugin-barman-cloud:
|
|||||||
requests:
|
requests:
|
||||||
cpu: 1m
|
cpu: 1m
|
||||||
memory: 20Mi
|
memory: 20Mi
|
||||||
|
rclone-postgres-backups-remote:
|
||||||
|
cronJob:
|
||||||
|
suspend: false
|
||||||
|
schedule: 0 1 * * *
|
||||||
|
rclone:
|
||||||
|
source:
|
||||||
|
bucketName: postgres-backups
|
||||||
|
destination:
|
||||||
|
bucketName: postgres-backups
|
||||||
|
prune:
|
||||||
|
enabled: true
|
||||||
|
ageToPrune: 45d
|
||||||
|
include: "/cl01tl/*/*/*/base/**"
|
||||||
|
exclude: "**/walls/**"
|
||||||
|
secret:
|
||||||
|
externalSecret:
|
||||||
|
source:
|
||||||
|
credentials:
|
||||||
|
path: /garage/home-infra/postgres-backups
|
||||||
|
config:
|
||||||
|
path: /garage/config
|
||||||
|
destination:
|
||||||
|
credentials:
|
||||||
|
path: /garage/home-infra/postgres-backups
|
||||||
|
config:
|
||||||
|
path: /garage/config
|
||||||
|
rclone-postgres-backups-external:
|
||||||
|
cronJob:
|
||||||
|
suspend: true
|
||||||
|
schedule: 20 1 * * *
|
||||||
|
rclone:
|
||||||
|
source:
|
||||||
|
bucketName: openbao-backups
|
||||||
|
destination:
|
||||||
|
bucketName: postgres-backups-ecc1010276b61716
|
||||||
|
providerType: DigitalOcean
|
||||||
|
prune:
|
||||||
|
enabled: true
|
||||||
|
ageToPrune: 45d
|
||||||
|
include: "/cl01tl/*/*/*/base/**"
|
||||||
|
exclude: "**/walls/**"
|
||||||
|
secret:
|
||||||
|
externalSecret:
|
||||||
|
source:
|
||||||
|
credentials:
|
||||||
|
path: /garage/home-infra/postgres-backups
|
||||||
|
config:
|
||||||
|
path: /garage/config
|
||||||
|
destination:
|
||||||
|
credentials:
|
||||||
|
path: /digital-ocean/home-infra/postgres-backups
|
||||||
|
keyIdProperty: AWS_ACCESS_KEY_ID
|
||||||
|
secretKeyProperty: AWS_SECRET_ACCESS_KEY
|
||||||
|
regionProperty: AWS_REGION
|
||||||
|
config:
|
||||||
|
path: /digital-ocean/config
|
||||||
|
endpointProperty: ENDPOINT
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ dependencies:
|
|||||||
- name: rclone-bucket
|
- name: rclone-bucket
|
||||||
alias: rclone-directus-assets-remote
|
alias: rclone-directus-assets-remote
|
||||||
repository: oci://harbor.alexlebens.net/helm-charts
|
repository: oci://harbor.alexlebens.net/helm-charts
|
||||||
version: 0.2.0
|
version: 0.4.1
|
||||||
icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/directus.png
|
icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/directus.png
|
||||||
# renovate: datasource=github-releases depName=directus/directus
|
# renovate: datasource=github-releases depName=directus/directus
|
||||||
appVersion: 11.17.3
|
appVersion: 11.17.3
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ dependencies:
|
|||||||
- name: rclone-bucket
|
- name: rclone-bucket
|
||||||
alias: rclone-karakeep-assets-remote
|
alias: rclone-karakeep-assets-remote
|
||||||
repository: oci://harbor.alexlebens.net/helm-charts
|
repository: oci://harbor.alexlebens.net/helm-charts
|
||||||
version: 0.2.0
|
version: 0.4.1
|
||||||
icon: https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/karakeep.png
|
icon: https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/karakeep.png
|
||||||
# renovate: datasource=github-releases depName=karakeep-app/karakeep
|
# renovate: datasource=github-releases depName=karakeep-app/karakeep
|
||||||
appVersion: 0.31.0
|
appVersion: 0.31.0
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ sources:
|
|||||||
- https://github.com/binwiederhier/ntfy
|
- https://github.com/binwiederhier/ntfy
|
||||||
- https://hub.docker.com/r/binwiederhier/ntfy
|
- https://hub.docker.com/r/binwiederhier/ntfy
|
||||||
- https://github.com/bjw-s-labs/helm-charts/tree/main/charts/other/app-template
|
- https://github.com/bjw-s-labs/helm-charts/tree/main/charts/other/app-template
|
||||||
|
- https://gitea.alexlebens.dev/alexlebens/helm-charts/src/branch/main/charts/rclone-bucket
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: alexlebens
|
- name: alexlebens
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -24,7 +25,7 @@ dependencies:
|
|||||||
- name: rclone-bucket
|
- name: rclone-bucket
|
||||||
alias: rclone-ntfy-attachments-remote
|
alias: rclone-ntfy-attachments-remote
|
||||||
repository: oci://harbor.alexlebens.net/helm-charts
|
repository: oci://harbor.alexlebens.net/helm-charts
|
||||||
version: 0.2.0
|
version: 0.4.1
|
||||||
icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/ntfy.png
|
icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/ntfy.png
|
||||||
# renovate: datasource=github-releases depName=binwiederhier/ntfy
|
# renovate: datasource=github-releases depName=binwiederhier/ntfy
|
||||||
appVersion: 2.22.0
|
appVersion: 2.22.0
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ sources:
|
|||||||
- https://github.com/lrstanley/vault-unseal/pkgs/container/vault-unseal
|
- https://github.com/lrstanley/vault-unseal/pkgs/container/vault-unseal
|
||||||
- https://github.com/openbao/openbao-helm/tree/main/charts/openbao
|
- https://github.com/openbao/openbao-helm/tree/main/charts/openbao
|
||||||
- https://github.com/bjw-s-labs/helm-charts/tree/main/charts/other/app-template
|
- https://github.com/bjw-s-labs/helm-charts/tree/main/charts/other/app-template
|
||||||
|
- https://gitea.alexlebens.dev/alexlebens/helm-charts/src/branch/main/charts/rclone-bucket
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: alexlebens
|
- name: alexlebens
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -25,6 +26,14 @@ dependencies:
|
|||||||
alias: unseal
|
alias: unseal
|
||||||
repository: https://bjw-s-labs.github.io/helm-charts/
|
repository: https://bjw-s-labs.github.io/helm-charts/
|
||||||
version: 4.6.2
|
version: 4.6.2
|
||||||
|
- name: rclone-bucket
|
||||||
|
alias: rclone-openbao-backups-remote
|
||||||
|
repository: oci://harbor.alexlebens.net/helm-charts
|
||||||
|
version: 0.4.1
|
||||||
|
- name: rclone-bucket
|
||||||
|
alias: rclone-openbao-backups-external
|
||||||
|
repository: oci://harbor.alexlebens.net/helm-charts
|
||||||
|
version: 0.4.1
|
||||||
icon: https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/openbao.png
|
icon: https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/openbao.png
|
||||||
# renovate: datasource=github-releases depName=openbao/openbao
|
# renovate: datasource=github-releases depName=openbao/openbao
|
||||||
appVersion: v2.5.3
|
appVersion: v2.5.3
|
||||||
|
|||||||
@@ -207,3 +207,53 @@ unseal:
|
|||||||
requests:
|
requests:
|
||||||
cpu: 1m
|
cpu: 1m
|
||||||
memory: 10Mi
|
memory: 10Mi
|
||||||
|
rclone-openbao-backups-remote:
|
||||||
|
cronJob:
|
||||||
|
suspend: false
|
||||||
|
schedule: 0 1 * * *
|
||||||
|
rclone:
|
||||||
|
source:
|
||||||
|
bucketName: openbao-backups
|
||||||
|
destination:
|
||||||
|
bucketName: openbao-backups
|
||||||
|
prune:
|
||||||
|
enabled: true
|
||||||
|
ageToPrune: 90d
|
||||||
|
secret:
|
||||||
|
externalSecret:
|
||||||
|
source:
|
||||||
|
credentials:
|
||||||
|
path: /garage/home-infra/openbao-backups
|
||||||
|
config:
|
||||||
|
path: /garage/config
|
||||||
|
destination:
|
||||||
|
credentials:
|
||||||
|
path: /garage/home-infra/openbao-backups
|
||||||
|
config:
|
||||||
|
path: /garage/config
|
||||||
|
rclone-openbao-backups-external:
|
||||||
|
cronJob:
|
||||||
|
suspend: false
|
||||||
|
schedule: 10 1 * * *
|
||||||
|
rclone:
|
||||||
|
source:
|
||||||
|
bucketName: openbao-backups
|
||||||
|
destination:
|
||||||
|
bucketName: openbao-backups-6e088aad5fad110b
|
||||||
|
providerType: DigitalOcean
|
||||||
|
prune:
|
||||||
|
enabled: true
|
||||||
|
ageToPrune: 90d
|
||||||
|
secret:
|
||||||
|
externalSecret:
|
||||||
|
source:
|
||||||
|
credentials:
|
||||||
|
path: /garage/home-infra/openbao-backups
|
||||||
|
config:
|
||||||
|
path: /garage/config
|
||||||
|
destination:
|
||||||
|
credentials:
|
||||||
|
path: /digital-ocean/home-infra/openbao-backups
|
||||||
|
config:
|
||||||
|
path: /digital-ocean/config
|
||||||
|
endpointProperty: ENDPOINT
|
||||||
|
|||||||
@@ -9,20 +9,14 @@ keywords:
|
|||||||
home: https://docs.alexlebens.dev/applications/rclone/
|
home: https://docs.alexlebens.dev/applications/rclone/
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/rclone/rclone
|
- https://github.com/rclone/rclone
|
||||||
- https://hub.docker.com/r/rclone/rclone
|
|
||||||
- https://github.com/bjw-s-labs/helm-charts/tree/main/charts/other/app-template
|
|
||||||
- https://gitea.alexlebens.dev/alexlebens/helm-charts/src/branch/main/charts/rclone-bucket
|
- https://gitea.alexlebens.dev/alexlebens/helm-charts/src/branch/main/charts/rclone-bucket
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: alexlebens
|
- name: alexlebens
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: app-template
|
|
||||||
alias: rclone
|
|
||||||
repository: https://bjw-s-labs.github.io/helm-charts/
|
|
||||||
version: 4.6.2
|
|
||||||
- name: rclone-bucket
|
- name: rclone-bucket
|
||||||
alias: rclone-web-assets-remote
|
alias: rclone-web-assets-remote
|
||||||
repository: oci://harbor.alexlebens.net/helm-charts
|
repository: oci://harbor.alexlebens.net/helm-charts
|
||||||
version: 0.2.0
|
version: 0.4.1
|
||||||
icon: https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/rclone.png
|
icon: https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/rclone.png
|
||||||
# renovate: datasource=github-releases depName=rclone/rclone
|
# renovate: datasource=github-releases depName=rclone/rclone
|
||||||
appVersion: v1.73.5
|
appVersion: v1.73.5
|
||||||
|
|||||||
@@ -1,130 +0,0 @@
|
|||||||
apiVersion: external-secrets.io/v1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: garage-talos-backups-secret
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: garage-talos-backups-secret
|
|
||||||
{{- include "custom.labels" . | nindent 4 }}
|
|
||||||
spec:
|
|
||||||
secretStoreRef:
|
|
||||||
kind: ClusterSecretStore
|
|
||||||
name: openbao
|
|
||||||
data:
|
|
||||||
- secretKey: ACCESS_KEY_ID
|
|
||||||
remoteRef:
|
|
||||||
key: /garage/home-infra/talos-backups
|
|
||||||
property: ACCESS_KEY_ID
|
|
||||||
- secretKey: ACCESS_REGION
|
|
||||||
remoteRef:
|
|
||||||
key: /garage/home-infra/talos-backups
|
|
||||||
property: ACCESS_REGION
|
|
||||||
- secretKey: ACCESS_SECRET_KEY
|
|
||||||
remoteRef:
|
|
||||||
key: /garage/home-infra/talos-backups
|
|
||||||
property: ACCESS_SECRET_KEY
|
|
||||||
- secretKey: SRC_ENDPOINT
|
|
||||||
remoteRef:
|
|
||||||
key: /garage/config
|
|
||||||
property: ENDPOINT_LOCAL
|
|
||||||
- secretKey: DEST_ENDPOINT
|
|
||||||
remoteRef:
|
|
||||||
key: /garage/config
|
|
||||||
property: ENDPOINT_REMOTE
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: external-secrets.io/v1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: garage-postgres-backups-secret
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: garage-postgres-backups-secret
|
|
||||||
{{- include "custom.labels" . | nindent 4 }}
|
|
||||||
spec:
|
|
||||||
secretStoreRef:
|
|
||||||
kind: ClusterSecretStore
|
|
||||||
name: openbao
|
|
||||||
data:
|
|
||||||
- secretKey: ACCESS_KEY_ID
|
|
||||||
remoteRef:
|
|
||||||
key: /garage/home-infra/postgres-backups
|
|
||||||
property: ACCESS_KEY_ID
|
|
||||||
- secretKey: ACCESS_REGION
|
|
||||||
remoteRef:
|
|
||||||
key: /garage/home-infra/postgres-backups
|
|
||||||
property: ACCESS_REGION
|
|
||||||
- secretKey: ACCESS_SECRET_KEY
|
|
||||||
remoteRef:
|
|
||||||
key: /garage/home-infra/postgres-backups
|
|
||||||
property: ACCESS_SECRET_KEY
|
|
||||||
- secretKey: SRC_ENDPOINT
|
|
||||||
remoteRef:
|
|
||||||
key: /garage/config
|
|
||||||
property: ENDPOINT_LOCAL
|
|
||||||
- secretKey: DEST_ENDPOINT
|
|
||||||
remoteRef:
|
|
||||||
key: /garage/config
|
|
||||||
property: ENDPOINT_REMOTE
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: external-secrets.io/v1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: garage-openbao-backups-secret
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: garage-openbao-backups-secret
|
|
||||||
{{- include "custom.labels" . | nindent 4 }}
|
|
||||||
spec:
|
|
||||||
secretStoreRef:
|
|
||||||
kind: ClusterSecretStore
|
|
||||||
name: openbao
|
|
||||||
data:
|
|
||||||
- secretKey: ACCESS_KEY_ID
|
|
||||||
remoteRef:
|
|
||||||
key: /garage/home-infra/openbao-backups
|
|
||||||
property: ACCESS_KEY_ID
|
|
||||||
- secretKey: ACCESS_REGION
|
|
||||||
remoteRef:
|
|
||||||
key: /garage/home-infra/openbao-backups
|
|
||||||
property: ACCESS_REGION
|
|
||||||
- secretKey: ACCESS_SECRET_KEY
|
|
||||||
remoteRef:
|
|
||||||
key: /garage/home-infra/openbao-backups
|
|
||||||
property: ACCESS_SECRET_KEY
|
|
||||||
- secretKey: ENDPOINT_LOCAL
|
|
||||||
remoteRef:
|
|
||||||
key: /garage/config
|
|
||||||
property: ENDPOINT_LOCAL
|
|
||||||
- secretKey: ENDPOINT_REMOTE
|
|
||||||
remoteRef:
|
|
||||||
key: /garage/config
|
|
||||||
property: ENDPOINT_REMOTE
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: external-secrets.io/v1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: external-openbao-backups-secret
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: external-openbao-backups-secret
|
|
||||||
{{- include "custom.labels" . | nindent 4 }}
|
|
||||||
spec:
|
|
||||||
secretStoreRef:
|
|
||||||
kind: ClusterSecretStore
|
|
||||||
name: openbao
|
|
||||||
data:
|
|
||||||
- secretKey: ACCESS_KEY_ID
|
|
||||||
remoteRef:
|
|
||||||
key: /digital-ocean/home-infra/openbao-backups
|
|
||||||
property: ACCESS_KEY_ID
|
|
||||||
- secretKey: ACCESS_REGION
|
|
||||||
remoteRef:
|
|
||||||
key: /digital-ocean/home-infra/openbao-backups
|
|
||||||
property: ACCESS_REGION
|
|
||||||
- secretKey: ACCESS_SECRET_KEY
|
|
||||||
remoteRef:
|
|
||||||
key: /digital-ocean/home-infra/openbao-backups
|
|
||||||
property: ACCESS_SECRET_KEY
|
|
||||||
@@ -1,125 +1,5 @@
|
|||||||
rclone:
|
rclone:
|
||||||
controllers:
|
controllers:
|
||||||
talos-backups:
|
|
||||||
type: cronjob
|
|
||||||
cronjob:
|
|
||||||
suspend: false
|
|
||||||
timeZone: America/Chicago
|
|
||||||
schedule: 20 0 * * *
|
|
||||||
backoffLimit: 3
|
|
||||||
parallelism: 1
|
|
||||||
containers:
|
|
||||||
sync:
|
|
||||||
image:
|
|
||||||
repository: rclone/rclone
|
|
||||||
tag: 1.73.5@sha256:1619a625f845e169c34b952cf40c483c0392965b821c5155cde8cbfd35254a96
|
|
||||||
args:
|
|
||||||
- sync
|
|
||||||
- src:talos-backups
|
|
||||||
- dest:talos-backups
|
|
||||||
- --s3-no-check-bucket
|
|
||||||
- --max-age
|
|
||||||
- 90d
|
|
||||||
- --verbose
|
|
||||||
env:
|
|
||||||
- name: RCLONE_S3_PROVIDER
|
|
||||||
value: Other
|
|
||||||
- name: RCLONE_CONFIG_SRC_TYPE
|
|
||||||
value: s3
|
|
||||||
- name: RCLONE_CONFIG_SRC_PROVIDER
|
|
||||||
value: Other
|
|
||||||
- name: RCLONE_CONFIG_SRC_ENV_AUTH
|
|
||||||
value: false
|
|
||||||
- name: RCLONE_CONFIG_SRC_ACCESS_KEY_ID
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-talos-backups-secret
|
|
||||||
key: ACCESS_KEY_ID
|
|
||||||
- name: RCLONE_CONFIG_SRC_SECRET_ACCESS_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-talos-backups-secret
|
|
||||||
key: ACCESS_SECRET_KEY
|
|
||||||
- name: RCLONE_CONFIG_SRC_REGION
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-talos-backups-secret
|
|
||||||
key: ACCESS_REGION
|
|
||||||
- name: RCLONE_CONFIG_SRC_ENDPOINT
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-talos-backups-secret
|
|
||||||
key: SRC_ENDPOINT
|
|
||||||
- name: RCLONE_CONFIG_SRC_S3_FORCE_PATH_STYLE
|
|
||||||
value: true
|
|
||||||
- name: RCLONE_CONFIG_DEST_TYPE
|
|
||||||
value: s3
|
|
||||||
- name: RCLONE_CONFIG_DEST_PROVIDER
|
|
||||||
value: Other
|
|
||||||
- name: RCLONE_CONFIG_DEST_ENV_AUTH
|
|
||||||
value: false
|
|
||||||
- name: RCLONE_CONFIG_DEST_ACCESS_KEY_ID
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-talos-backups-secret
|
|
||||||
key: ACCESS_KEY_ID
|
|
||||||
- name: RCLONE_CONFIG_DEST_SECRET_ACCESS_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-talos-backups-secret
|
|
||||||
key: ACCESS_SECRET_KEY
|
|
||||||
- name: RCLONE_CONFIG_DEST_REGION
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-talos-backups-secret
|
|
||||||
key: ACCESS_REGION
|
|
||||||
- name: RCLONE_CONFIG_DEST_ENDPOINT
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-talos-backups-secret
|
|
||||||
key: DEST_ENDPOINT
|
|
||||||
- name: RCLONE_CONFIG_SRC_DEST_FORCE_PATH_STYLE
|
|
||||||
value: true
|
|
||||||
prune:
|
|
||||||
image:
|
|
||||||
repository: rclone/rclone
|
|
||||||
tag: 1.73.5@sha256:1619a625f845e169c34b952cf40c483c0392965b821c5155cde8cbfd35254a96
|
|
||||||
args:
|
|
||||||
- delete
|
|
||||||
- dest:talos-backups
|
|
||||||
- --min-age
|
|
||||||
- 90d
|
|
||||||
- --verbose
|
|
||||||
env:
|
|
||||||
- name: RCLONE_CONFIG_DEST_TYPE
|
|
||||||
value: s3
|
|
||||||
- name: RCLONE_CONFIG_DEST_PROVIDER
|
|
||||||
value: Other
|
|
||||||
- name: RCLONE_CONFIG_DEST_ENV_AUTH
|
|
||||||
value: false
|
|
||||||
- name: RCLONE_CONFIG_DEST_ACCESS_KEY_ID
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-talos-backups-secret
|
|
||||||
key: ACCESS_KEY_ID
|
|
||||||
- name: RCLONE_CONFIG_DEST_SECRET_ACCESS_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-talos-backups-secret
|
|
||||||
key: ACCESS_SECRET_KEY
|
|
||||||
- name: RCLONE_CONFIG_DEST_REGION
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-talos-backups-secret
|
|
||||||
key: ACCESS_REGION
|
|
||||||
- name: RCLONE_CONFIG_DEST_ENDPOINT
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-talos-backups-secret
|
|
||||||
key: DEST_ENDPOINT
|
|
||||||
- name: RCLONE_CONFIG_SRC_S3_FORCE_PATH_STYLE
|
|
||||||
value: true
|
|
||||||
|
|
||||||
postgres-backups:
|
postgres-backups:
|
||||||
type: cronjob
|
type: cronjob
|
||||||
cronjob:
|
cronjob:
|
||||||
@@ -243,238 +123,6 @@ rclone:
|
|||||||
key: DEST_ENDPOINT
|
key: DEST_ENDPOINT
|
||||||
- name: RCLONE_CONFIG_SRC_S3_FORCE_PATH_STYLE
|
- name: RCLONE_CONFIG_SRC_S3_FORCE_PATH_STYLE
|
||||||
value: true
|
value: true
|
||||||
openbao-backups-remote:
|
|
||||||
type: cronjob
|
|
||||||
cronjob:
|
|
||||||
suspend: false
|
|
||||||
timeZone: America/Chicago
|
|
||||||
schedule: 0 1 * * *
|
|
||||||
backoffLimit: 3
|
|
||||||
parallelism: 1
|
|
||||||
containers:
|
|
||||||
sync:
|
|
||||||
image:
|
|
||||||
repository: rclone/rclone
|
|
||||||
tag: 1.73.5@sha256:1619a625f845e169c34b952cf40c483c0392965b821c5155cde8cbfd35254a96
|
|
||||||
args:
|
|
||||||
- sync
|
|
||||||
- src:openbao-backups
|
|
||||||
- dest:openbao-backups
|
|
||||||
- --s3-no-check-bucket
|
|
||||||
- --max-age
|
|
||||||
- 90d
|
|
||||||
- --verbose
|
|
||||||
env:
|
|
||||||
- name: RCLONE_S3_PROVIDER
|
|
||||||
value: Other
|
|
||||||
- name: RCLONE_CONFIG_SRC_TYPE
|
|
||||||
value: s3
|
|
||||||
- name: RCLONE_CONFIG_SRC_PROVIDER
|
|
||||||
value: Other
|
|
||||||
- name: RCLONE_CONFIG_SRC_ENV_AUTH
|
|
||||||
value: false
|
|
||||||
- name: RCLONE_CONFIG_SRC_ACCESS_KEY_ID
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-openbao-backups-secret
|
|
||||||
key: ACCESS_KEY_ID
|
|
||||||
- name: RCLONE_CONFIG_SRC_SECRET_ACCESS_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-openbao-backups-secret
|
|
||||||
key: ACCESS_SECRET_KEY
|
|
||||||
- name: RCLONE_CONFIG_SRC_REGION
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-openbao-backups-secret
|
|
||||||
key: ACCESS_REGION
|
|
||||||
- name: RCLONE_CONFIG_SRC_ENDPOINT
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-openbao-backups-secret
|
|
||||||
key: ENDPOINT_LOCAL
|
|
||||||
- name: RCLONE_CONFIG_SRC_S3_FORCE_PATH_STYLE
|
|
||||||
value: true
|
|
||||||
- name: RCLONE_CONFIG_DEST_TYPE
|
|
||||||
value: s3
|
|
||||||
- name: RCLONE_CONFIG_DEST_PROVIDER
|
|
||||||
value: Other
|
|
||||||
- name: RCLONE_CONFIG_DEST_ENV_AUTH
|
|
||||||
value: false
|
|
||||||
- name: RCLONE_CONFIG_DEST_ACCESS_KEY_ID
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-openbao-backups-secret
|
|
||||||
key: ACCESS_KEY_ID
|
|
||||||
- name: RCLONE_CONFIG_DEST_SECRET_ACCESS_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-openbao-backups-secret
|
|
||||||
key: ACCESS_SECRET_KEY
|
|
||||||
- name: RCLONE_CONFIG_DEST_REGION
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-openbao-backups-secret
|
|
||||||
key: ACCESS_REGION
|
|
||||||
- name: RCLONE_CONFIG_DEST_ENDPOINT
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-openbao-backups-secret
|
|
||||||
key: ENDPOINT_REMOTE
|
|
||||||
- name: RCLONE_CONFIG_SRC_DEST_FORCE_PATH_STYLE
|
|
||||||
value: true
|
|
||||||
prune:
|
|
||||||
image:
|
|
||||||
repository: rclone/rclone
|
|
||||||
tag: 1.73.5@sha256:1619a625f845e169c34b952cf40c483c0392965b821c5155cde8cbfd35254a96
|
|
||||||
args:
|
|
||||||
- delete
|
|
||||||
- dest:openbao-backups
|
|
||||||
- --min-age
|
|
||||||
- 90d
|
|
||||||
- --verbose
|
|
||||||
env:
|
|
||||||
- name: RCLONE_CONFIG_DEST_TYPE
|
|
||||||
value: s3
|
|
||||||
- name: RCLONE_CONFIG_DEST_PROVIDER
|
|
||||||
value: Other
|
|
||||||
- name: RCLONE_CONFIG_DEST_ENV_AUTH
|
|
||||||
value: false
|
|
||||||
- name: RCLONE_CONFIG_DEST_ACCESS_KEY_ID
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-openbao-backups-secret
|
|
||||||
key: ACCESS_KEY_ID
|
|
||||||
- name: RCLONE_CONFIG_DEST_SECRET_ACCESS_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-openbao-backups-secret
|
|
||||||
key: ACCESS_SECRET_KEY
|
|
||||||
- name: RCLONE_CONFIG_DEST_REGION
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-openbao-backups-secret
|
|
||||||
key: ACCESS_REGION
|
|
||||||
- name: RCLONE_CONFIG_DEST_ENDPOINT
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-openbao-backups-secret
|
|
||||||
key: ENDPOINT_REMOTE
|
|
||||||
- name: RCLONE_CONFIG_SRC_S3_FORCE_PATH_STYLE
|
|
||||||
value: true
|
|
||||||
openbao-backups-external:
|
|
||||||
type: cronjob
|
|
||||||
cronjob:
|
|
||||||
suspend: false
|
|
||||||
timeZone: America/Chicago
|
|
||||||
schedule: 10 1 * * *
|
|
||||||
backoffLimit: 3
|
|
||||||
parallelism: 1
|
|
||||||
containers:
|
|
||||||
sync:
|
|
||||||
image:
|
|
||||||
repository: rclone/rclone
|
|
||||||
tag: 1.73.5@sha256:1619a625f845e169c34b952cf40c483c0392965b821c5155cde8cbfd35254a96
|
|
||||||
args:
|
|
||||||
- sync
|
|
||||||
- src:openbao-backups
|
|
||||||
- dest:openbao-backups-6e088aad5fad110b
|
|
||||||
- --s3-no-check-bucket
|
|
||||||
- --max-age
|
|
||||||
- 90d
|
|
||||||
- --verbose
|
|
||||||
env:
|
|
||||||
- name: RCLONE_S3_PROVIDER
|
|
||||||
value: Other
|
|
||||||
- name: RCLONE_CONFIG_SRC_TYPE
|
|
||||||
value: s3
|
|
||||||
- name: RCLONE_CONFIG_SRC_PROVIDER
|
|
||||||
value: Other
|
|
||||||
- name: RCLONE_CONFIG_SRC_ENV_AUTH
|
|
||||||
value: false
|
|
||||||
- name: RCLONE_CONFIG_SRC_ACCESS_KEY_ID
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-openbao-backups-secret
|
|
||||||
key: ACCESS_KEY_ID
|
|
||||||
- name: RCLONE_CONFIG_SRC_SECRET_ACCESS_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-openbao-backups-secret
|
|
||||||
key: ACCESS_SECRET_KEY
|
|
||||||
- name: RCLONE_CONFIG_SRC_REGION
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-openbao-backups-secret
|
|
||||||
key: ACCESS_REGION
|
|
||||||
- name: RCLONE_CONFIG_SRC_ENDPOINT
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: garage-openbao-backups-secret
|
|
||||||
key: ENDPOINT_LOCAL
|
|
||||||
- name: RCLONE_CONFIG_SRC_S3_FORCE_PATH_STYLE
|
|
||||||
value: true
|
|
||||||
- name: RCLONE_CONFIG_DEST_TYPE
|
|
||||||
value: s3
|
|
||||||
- name: RCLONE_CONFIG_DEST_PROVIDER
|
|
||||||
value: DigitalOcean
|
|
||||||
- name: RCLONE_CONFIG_DEST_ENV_AUTH
|
|
||||||
value: false
|
|
||||||
- name: RCLONE_CONFIG_DEST_ACCESS_KEY_ID
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: external-openbao-backups-secret
|
|
||||||
key: ACCESS_KEY_ID
|
|
||||||
- name: RCLONE_CONFIG_DEST_SECRET_ACCESS_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: external-openbao-backups-secret
|
|
||||||
key: ACCESS_SECRET_KEY
|
|
||||||
- name: RCLONE_CONFIG_DEST_REGION
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: external-openbao-backups-secret
|
|
||||||
key: ACCESS_REGION
|
|
||||||
- name: RCLONE_CONFIG_DEST_ENDPOINT
|
|
||||||
value: https://nyc3.digitaloceanspaces.com
|
|
||||||
- name: RCLONE_CONFIG_DEST_S3_FORCE_PATH_STYLE
|
|
||||||
value: true
|
|
||||||
prune:
|
|
||||||
image:
|
|
||||||
repository: rclone/rclone
|
|
||||||
tag: 1.73.5@sha256:1619a625f845e169c34b952cf40c483c0392965b821c5155cde8cbfd35254a96
|
|
||||||
args:
|
|
||||||
- delete
|
|
||||||
- dest:openbao-backups-6e088aad5fad110b
|
|
||||||
- --min-age
|
|
||||||
- 90d
|
|
||||||
- --verbose
|
|
||||||
env:
|
|
||||||
- name: RCLONE_CONFIG_DEST_TYPE
|
|
||||||
value: s3
|
|
||||||
- name: RCLONE_CONFIG_DEST_PROVIDER
|
|
||||||
value: DigitalOcean
|
|
||||||
- name: RCLONE_CONFIG_DEST_ENV_AUTH
|
|
||||||
value: false
|
|
||||||
- name: RCLONE_CONFIG_DEST_ACCESS_KEY_ID
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: external-openbao-backups-secret
|
|
||||||
key: ACCESS_KEY_ID
|
|
||||||
- name: RCLONE_CONFIG_DEST_SECRET_ACCESS_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: external-openbao-backups-secret
|
|
||||||
key: ACCESS_SECRET_KEY
|
|
||||||
- name: RCLONE_CONFIG_DEST_REGION
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: external-openbao-backups-secret
|
|
||||||
key: ACCESS_REGION
|
|
||||||
- name: RCLONE_CONFIG_DEST_ENDPOINT
|
|
||||||
value: https://nyc3.digitaloceanspaces.com
|
|
||||||
- name: RCLONE_CONFIG_DEST_S3_FORCE_PATH_STYLE
|
|
||||||
value: true
|
|
||||||
rclone-web-assets-remote:
|
rclone-web-assets-remote:
|
||||||
cronJob:
|
cronJob:
|
||||||
suspend: false
|
suspend: false
|
||||||
|
|||||||
Reference in New Issue
Block a user