chore: Update manifests after change
This commit is contained in:
@@ -54,8 +54,6 @@ spec:
|
|||||||
subPath: garage.toml
|
subPath: garage.toml
|
||||||
- mountPath: /var/lib/garage/data
|
- mountPath: /var/lib/garage/data
|
||||||
name: data
|
name: data
|
||||||
- mountPath: /db
|
|
||||||
name: db
|
|
||||||
- mountPath: /var/lib/garage/snapshots
|
- mountPath: /var/lib/garage/snapshots
|
||||||
name: snapshots
|
name: snapshots
|
||||||
- envFrom:
|
- envFrom:
|
||||||
@@ -76,8 +74,6 @@ spec:
|
|||||||
subPath: garage.toml
|
subPath: garage.toml
|
||||||
- mountPath: /var/lib/garage/data
|
- mountPath: /var/lib/garage/data
|
||||||
name: data
|
name: data
|
||||||
- mountPath: /db
|
|
||||||
name: db
|
|
||||||
- mountPath: /var/lib/garage/snapshots
|
- mountPath: /var/lib/garage/snapshots
|
||||||
name: snapshots
|
name: snapshots
|
||||||
volumes:
|
volumes:
|
||||||
@@ -87,9 +83,6 @@ spec:
|
|||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: garage-data
|
claimName: garage-data
|
||||||
- name: db
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: garage-db
|
|
||||||
- name: snapshots
|
- name: snapshots
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: garage-snapshots
|
claimName: garage-snapshots
|
||||||
|
|||||||
@@ -59,12 +59,7 @@ spec:
|
|||||||
name: config
|
name: config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
subPath: garage.toml
|
subPath: garage.toml
|
||||||
- mountPath: /db
|
|
||||||
name: db
|
|
||||||
volumes:
|
volumes:
|
||||||
- configMap:
|
- configMap:
|
||||||
name: garage
|
name: garage
|
||||||
name: config
|
name: config
|
||||||
- name: db
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: garage-db
|
|
||||||
|
|||||||
@@ -0,0 +1,58 @@
|
|||||||
|
apiVersion: external-secrets.io/v1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: garage-db-backup-secret-remote
|
||||||
|
namespace: garage
|
||||||
|
labels:
|
||||||
|
helm.sh/chart: volsync-target-db-0.7.0
|
||||||
|
app.kubernetes.io/instance: garage
|
||||||
|
app.kubernetes.io/part-of: garage
|
||||||
|
app.kubernetes.io/version: "0.7.0"
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
app.kubernetes.io/name: garage-db-backup-secret-remote
|
||||||
|
spec:
|
||||||
|
secretStoreRef:
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
name: vault
|
||||||
|
target:
|
||||||
|
template:
|
||||||
|
mergePolicy: Merge
|
||||||
|
engineVersion: v2
|
||||||
|
data:
|
||||||
|
RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/garage/garage-db"
|
||||||
|
data:
|
||||||
|
- secretKey: BUCKET_ENDPOINT
|
||||||
|
remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: /volsync/restic/garage-remote
|
||||||
|
metadataPolicy: None
|
||||||
|
property: BUCKET_ENDPOINT
|
||||||
|
- secretKey: RESTIC_PASSWORD
|
||||||
|
remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: /volsync/restic/garage-remote
|
||||||
|
metadataPolicy: None
|
||||||
|
property: RESTIC_PASSWORD
|
||||||
|
- secretKey: AWS_DEFAULT_REGION
|
||||||
|
remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: /garage/home-infra/volsync-backups
|
||||||
|
metadataPolicy: None
|
||||||
|
property: ACCESS_REGION
|
||||||
|
- secretKey: AWS_ACCESS_KEY_ID
|
||||||
|
remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: /garage/home-infra/volsync-backups
|
||||||
|
metadataPolicy: None
|
||||||
|
property: ACCESS_KEY_ID
|
||||||
|
- secretKey: AWS_SECRET_ACCESS_KEY
|
||||||
|
remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: /garage/home-infra/volsync-backups
|
||||||
|
metadataPolicy: None
|
||||||
|
property: ACCESS_SECRET_KEY
|
||||||
@@ -1,19 +1,12 @@
|
|||||||
kind: PersistentVolumeClaim
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: garage-db
|
name: garage-db
|
||||||
labels:
|
|
||||||
app.kubernetes.io/instance: garage
|
|
||||||
app.kubernetes.io/managed-by: Helm
|
|
||||||
app.kubernetes.io/name: garage
|
|
||||||
helm.sh/chart: garage-4.5.0
|
|
||||||
annotations:
|
|
||||||
helm.sh/resource-policy: keep
|
|
||||||
namespace: garage
|
namespace: garage
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- "ReadWriteOnce"
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: "50Gi"
|
storage: 50Gi
|
||||||
storageClassName: "ceph-block"
|
storageClassName: ceph-block
|
||||||
|
|||||||
@@ -26,4 +26,4 @@ spec:
|
|||||||
copyMethod: Snapshot
|
copyMethod: Snapshot
|
||||||
storageClassName: ceph-block
|
storageClassName: ceph-block
|
||||||
volumeSnapshotClassName: ceph-blockpool-snapshot
|
volumeSnapshotClassName: ceph-blockpool-snapshot
|
||||||
cacheCapacity: 1Gi
|
cacheCapacity: 10Gi
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: volsync.backube/v1alpha1
|
||||||
|
kind: ReplicationSource
|
||||||
|
metadata:
|
||||||
|
name: garage-db-backup-source-remote
|
||||||
|
namespace: garage
|
||||||
|
labels:
|
||||||
|
helm.sh/chart: volsync-target-db-0.7.0
|
||||||
|
app.kubernetes.io/instance: garage
|
||||||
|
app.kubernetes.io/part-of: garage
|
||||||
|
app.kubernetes.io/version: "0.7.0"
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
app.kubernetes.io/name: garage-db-backup
|
||||||
|
spec:
|
||||||
|
sourcePVC: garage-db
|
||||||
|
trigger:
|
||||||
|
schedule: 20 10 * * *
|
||||||
|
restic:
|
||||||
|
pruneIntervalDays: 7
|
||||||
|
repository: garage-db-backup-secret-remote
|
||||||
|
retain:
|
||||||
|
daily: 7
|
||||||
|
hourly: 0
|
||||||
|
monthly: 3
|
||||||
|
weekly: 4
|
||||||
|
yearly: 1
|
||||||
|
copyMethod: Snapshot
|
||||||
|
storageClassName: ceph-block
|
||||||
|
volumeSnapshotClassName: ceph-blockpool-snapshot
|
||||||
|
cacheCapacity: 10Gi
|
||||||
@@ -10,7 +10,7 @@ metadata:
|
|||||||
app.kubernetes.io/version: "0.14.0"
|
app.kubernetes.io/version: "0.14.0"
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
spec:
|
spec:
|
||||||
replicas: 0
|
replicas: 2
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
control-plane: volsync-controller
|
control-plane: volsync-controller
|
||||||
|
|||||||
Reference in New Issue
Block a user