Remove velero

This commit is contained in:
2025-03-22 20:22:12 +01:00
parent 202f8eccd6
commit 9881344d7c
7 changed files with 16 additions and 124 deletions

View File

@@ -1,8 +0,0 @@
# /infrastructure/controllers/velero/kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- secret.enc.yaml
- repository.yaml
- release.yaml

View File

@@ -1,5 +0,0 @@
# /infrastructure/controllers/velero/namespace.yaml
apiVersion: v1
kind: Namespace
metadata:
name: velero

View File

@@ -1,56 +0,0 @@
# /infrastructure/controllers/velero/release.yaml
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: velero
namespace: velero
spec:
interval: 1h
chart:
spec:
chart: velero
version: 8.6.0
sourceRef:
kind: HelmRepository
name: velero-helm-repo
namespace: velero
values:
snapshotsEnabled: false
deployNodeAgent: true
configuration:
backupStorageLocation:
- name: scaleway
provider: velero.io/aws
default: true
bucket: ${VELERO_BUCKET}
config:
region: nl-ams
s3Url: https://s3.nl-ams.scw.cloud
defaultVolumesToFsBackup: true
schedules:
daily-backup:
schedule: "0 2 * * *"
template:
includedNamespaces:
- gitea
storageLocation: default
ttl: "168h"
includedResources:
- persistentvolumeclaims
- persistentvolumes
labels:
type: scheduled
period: daily
credentials:
existingSecret: velero-s3-credentials
initContainers:
- name: velero-plugin-for-aws
image: velero/velero-plugin-for-aws:v1.11.1
imagePullPolicy: IfNotPresent
volumeMounts:
- mountPath: /target
name: plugins

View File

@@ -1,9 +0,0 @@
# /infrastructure/controllers/vellero/repository.yaml
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: velero-helm-repo
namespace: velero
spec:
interval: 24h
url: https://vmware-tanzu.github.io/helm-charts

View File

@@ -1,28 +0,0 @@
#ENC[AES256_GCM,data:yGVtwMZGmZORQ4NLcBUoeZoIYGAcgLHs0AT+OIKwenn0FX5a0+FlbC97IKvKxM4=,iv:G5IQPV+kFGNVBw/rr3eRYTso89BksveSWLvsZwihI9c=,tag:ZanPgWaQ2ZsTKiblRZHPNw==,type:comment]
apiVersion: v1
kind: Secret
metadata:
name: velero-s3-credentials
namespace: velero
stringData:
cloud: ENC[AES256_GCM,data:zEXjmiGstB5h+GrIro48JKZZQlVUIQ2tuAf9NipGWcCRUZ1FZVPdLQvwoCr9xLLn7lwITeTdpZEfTSHYwc0m17SLdKDUSP0cMhqo5uyjJ1EDwR8GrUVgo66mF06yOX0sB1iPqKgKNnMpB3ujzf0J,iv:QTmUUw/Z0+TKmMyW5EDcLqvM0bCKqthe5yIun2cD9KM=,tag:pRxBiLLd4IvW5c5pKtkdZA==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age1jk99rtxq3ep2xj2w886cchddf7jypqpwkr3dszg5dzq93gn8cy9qyc786m
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBDOFFhMG8ySnNKSmZicm44
d3cvT1JTWDF5UCsxMmdSNlJvelJBOE1yb0ZFCmxCZXA3em02a0g3OExWRFc4L1l2
TDYrYUlkdUw4aVVDK1lVNGFqS2RZaFkKLS0tIC9ETVR2dWR3YkFGQzczeWVmSWRM
bEFQMWpNUzBzSzFvNGRuQkRJLzM3QTQK8V9YrrhRkXIBuXWz8hhJzY7LVNOIm6nR
LZxSlHOj+ydw37u5Npj3mSDNqtmUp9BdrD6lMNwmnZZXLU0VVLOUog==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2025-01-10T23:11:10Z"
mac: ENC[AES256_GCM,data:9mBG+oGHvwiZ7Zlq7eyMqcXNLgVjwqUiXOOmEmImWIlx3o3g0DBFx3AovnusMkg12jIXKXM7u2vdna0zKA062TLUyUmRtjNsPEmHlE4QXjqYowdUaHPlXrn6KR996kZKnU7ABsRZF2wAG8HPLNJ0KKna7T/9qqi3Y1txby+PNxw=,iv:mFZ8di9k2Vb6EdCXg4QAGMkjUsMcRtyudqfHsWpMR50=,tag:a6kTnSpopkNPd8wIBNFOiQ==,type:str]
pgp: []
unencrypted_regex: ^(apiVersion|metadata|kind|type)$
version: 3.9.1