diff --git a/bootstrap/helmrepositories/helmrepository-vmware-tanzu.yaml b/bootstrap/helmrepositories/helmrepository-vmware-tanzu.yaml deleted file mode 100644 index 3343ea4..0000000 --- a/bootstrap/helmrepositories/helmrepository-vmware-tanzu.yaml +++ /dev/null @@ -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/ diff --git a/bootstrap/kustomizations/kustomization-velero.yaml b/bootstrap/kustomizations/kustomization-velero.yaml deleted file mode 100644 index d534be1..0000000 --- a/bootstrap/kustomizations/kustomization-velero.yaml +++ /dev/null @@ -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 diff --git a/bootstrap/namespaces/namespace-velero.yaml b/bootstrap/namespaces/namespace-velero.yaml deleted file mode 100644 index b442fae..0000000 --- a/bootstrap/namespaces/namespace-velero.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: velero diff --git a/snapshot-controller/helmrelease-snapshot-controller.yaml b/snapshot-controller/helmrelease-snapshot-controller.yaml index a199239..769e2ba 100644 --- a/snapshot-controller/helmrelease-snapshot-controller.yaml +++ b/snapshot-controller/helmrelease-snapshot-controller.yaml @@ -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 diff --git a/velero/helmrelease-velero.yaml b/velero/helmrelease-velero.yaml deleted file mode 100644 index 98a7146..0000000 --- a/velero/helmrelease-velero.yaml +++ /dev/null @@ -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 diff --git a/velero/resource-policies-configmap.yaml b/velero/resource-policies-configmap.yaml deleted file mode 100644 index 78497b9..0000000 --- a/velero/resource-policies-configmap.yaml +++ /dev/null @@ -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 diff --git a/velero/sealedsecret-velero-secret.yaml b/velero/sealedsecret-velero-secret.yaml deleted file mode 100644 index c74d61e..0000000 --- a/velero/sealedsecret-velero-secret.yaml +++ /dev/null @@ -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" - } - } -}