Skip to content

Instantly share code, notes, and snippets.

@deanpeterson
Created May 23, 2023 20:23
Show Gist options
  • Save deanpeterson/e2dca8e8143bda921a85e221fee0fb06 to your computer and use it in GitHub Desktop.
Save deanpeterson/e2dca8e8143bda921a85e221fee0fb06 to your computer and use it in GitHub Desktop.
apiVersion: velero.io/v1
kind: Restore
metadata:
name: restore-itd
namespace: openshift-adp
spec:
backupName: schedule-20230523083058
excludedResources:
- nodes
- events
- events.events.k8s.io
- backups.velero.io
- restores.velero.io
- resticrepositories.velero.io
- csinodes.storage.k8s.io
- volumeattachments.storage.k8s.io
includedNamespaces:
- interthedungeon
includedResources:
- Keycloak
- Secret
- Service
- Deployment
- ReplicaSet
- ConfigMap
orLabelSelectors:
- matchLabels:
app: keycloak
- matchLabels:
app: sso
restorePVs: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment