mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 13:09:53 +00:00
remove velero
Signed-off-by: Michael Thomson <michael@michaelthomson.dev>
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: vmware-tanzu
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 15m
|
||||
url: https://vmware-tanzu.github.io/helm-charts/
|
||||
@@ -1,18 +0,0 @@
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: velero
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 15m
|
||||
path: ./velero
|
||||
prune: true # remove any elements later removed from the above path
|
||||
timeout: 2m # if not set, this defaults to interval duration, which is 1h
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
healthChecks:
|
||||
- apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
name: velero
|
||||
namespace: velero
|
||||
@@ -1,4 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: velero
|
||||
@@ -21,6 +21,5 @@ spec:
|
||||
- name: longhorn
|
||||
driver: driver.longhorn.io
|
||||
labels:
|
||||
velero.io/csi-volumesnapshot-class: "true"
|
||||
snapshot.storage.kubernetes.io/is-default-class: "true"
|
||||
deletionPolicy: Delete
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: velero
|
||||
namespace: velero
|
||||
spec:
|
||||
chart:
|
||||
spec:
|
||||
chart: velero
|
||||
version: 7.x
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: vmware-tanzu
|
||||
namespace: flux-system
|
||||
interval: 15m
|
||||
timeout: 5m
|
||||
releaseName: velero
|
||||
values:
|
||||
deployNodeAgent: true
|
||||
initContainers:
|
||||
- name: velero-plugin-for-aws
|
||||
image: velero/velero-plugin-for-aws:v1.10.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
volumeMounts:
|
||||
- mountPath: /target
|
||||
name: plugins
|
||||
configuration:
|
||||
backupStorageLocation:
|
||||
- name: backblaze
|
||||
default: true
|
||||
provider: aws
|
||||
bucket: mthomson-cluster-backup
|
||||
credential:
|
||||
name: velero-secret
|
||||
key: cloud
|
||||
config:
|
||||
region: us-west-004
|
||||
s3Url: "https://s3.us-west-004.backblazeb2.com"
|
||||
volumeSnapshotLocation:
|
||||
- name: longhorn
|
||||
provider: csi
|
||||
defaultVolumeSnapshotLocations: csi:longhorn
|
||||
features: EnableCSI
|
||||
schedules:
|
||||
daily-backup:
|
||||
disabled: false
|
||||
schedule: "0 0 * * *" # once a day, at midnight
|
||||
useOwnerReferencesInBackup: false
|
||||
template:
|
||||
ttl: "240h"
|
||||
storageLocation: backblaze # use the same name you defined above in backupStorageLocation
|
||||
snapshotMoveData: true
|
||||
resourcePolicy:
|
||||
kind: configmap
|
||||
name: resource-policies-configmap
|
||||
@@ -1,20 +0,0 @@
|
||||
apiVersion: v1
|
||||
data:
|
||||
resource-policies-configmap.yaml: |
|
||||
version: v1
|
||||
volumePolicies:
|
||||
- conditions:
|
||||
storageClass:
|
||||
- nfs-client
|
||||
action:
|
||||
type: skip
|
||||
- conditions:
|
||||
storageClass:
|
||||
- longhorn
|
||||
action:
|
||||
type: snapshot
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: resource-policies-configmap
|
||||
namespace: velero
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"kind": "SealedSecret",
|
||||
"apiVersion": "bitnami.com/v1alpha1",
|
||||
"metadata": {
|
||||
"name": "velero-secret",
|
||||
"namespace": "velero",
|
||||
"creationTimestamp": null
|
||||
},
|
||||
"spec": {
|
||||
"template": {
|
||||
"metadata": {
|
||||
"name": "velero-secret",
|
||||
"namespace": "velero",
|
||||
"creationTimestamp": null
|
||||
}
|
||||
},
|
||||
"encryptedData": {
|
||||
"cloud": "AgA6/cVE000P6q1AT0bgnrMRavJZUehzZaei7kfbChNUovc94JOFAHtTQs/NyODoYkPYqnhBWyjWCagdk0LmL1moXdqCLKtLSVFy4zxtXBjqbJlE3CyaD5nOJN0ZW/Fln4jXTlV/4378i2K601T7+PaUHo8neP2hRN6LQfuTI6qA8R9MKM4wtn605uJ4oh+0+sEISKa6Zp888jX5qzJ/iRzZnFejx4zZF8x+SSnenVFbrcry4Z/aksXFozrCfWa6+lJEiExUZK2jt3xe9Mvr9YgmIbZ2V9pSEHX71rGTK4m4NJ6ZnQYvI661f0RJOk4pRDKMhLqrFrLst5uXF1FX1A5UJunuPNu+0iGGWGCX8x5JBkmyygQxPQQqTraAyx2gU5OL9bbDA1PivvQJ4thCzqi6BW8pIAiFQZmnhfb31tJgm/hq7l9ye5cHJ2ujjKUvfDWIFu+lhzsu4EfdIz0txnkNQz+C+TcBdYTiHM3228xSnJURX+eRiIcY1pWW0nw7XhLglE/stau/akzz/xx1Is4i12+JRxa4pj1Ke6ShaXZehuB1pCswvdgAimOxG3o1jSjm8ynySD1xjdStHf3l5bdxbN/76GbpgEkPijcpQoeZsmndWC/leGiGfd4J0C7Pi+IWA9MgV06A1fMXlSWO/hfvMbZmu3lDXj4rqqVRn4GQyQvk0vm4GhJSnDckXZk5JMv+FFimfAbfW+jd8Nlp1exqeQaqwTASvTsyYp7952DH0+5ffNcOPT20KJmPos5JgELQt/ZsRxTl+JLFq18P9i62FkUf7O5+c8LAvCgqRLKjXqsLb8w2DW3GPlzkVyF7Sh75GuIBnubCMlXcaGWWzpcy"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user