Skip to content

Commit

Permalink
updated velero CRDs to velero 1.8.0, fix common.go quay image tags (#593
Browse files Browse the repository at this point in the history
)
  • Loading branch information
sseago authored Mar 14, 2022
1 parent 726af63 commit ce1d1fe
Show file tree
Hide file tree
Showing 24 changed files with 65 additions and 41 deletions.
2 changes: 1 addition & 1 deletion bundle/manifests/velero.io_backups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: backups.velero.io
spec:
Expand Down
2 changes: 1 addition & 1 deletion bundle/manifests/velero.io_backupstoragelocations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: backupstoragelocations.velero.io
spec:
Expand Down
2 changes: 1 addition & 1 deletion bundle/manifests/velero.io_deletebackuprequests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: deletebackuprequests.velero.io
spec:
Expand Down
3 changes: 2 additions & 1 deletion bundle/manifests/velero.io_downloadrequests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: downloadrequests.velero.io
spec:
Expand Down Expand Up @@ -44,6 +44,7 @@ spec:
- BackupLog
- BackupContents
- BackupVolumeSnapshots
- BackupItemSnapshots
- BackupResourceList
- RestoreLog
- RestoreResults
Expand Down
2 changes: 1 addition & 1 deletion bundle/manifests/velero.io_podvolumebackups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: podvolumebackups.velero.io
spec:
Expand Down
2 changes: 1 addition & 1 deletion bundle/manifests/velero.io_podvolumerestores.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: podvolumerestores.velero.io
spec:
Expand Down
2 changes: 1 addition & 1 deletion bundle/manifests/velero.io_resticrepositories.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: resticrepositories.velero.io
spec:
Expand Down
3 changes: 2 additions & 1 deletion bundle/manifests/velero.io_restores.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: restores.velero.io
spec:
Expand Down Expand Up @@ -892,6 +892,7 @@ spec:
by services.
type: string
protocol:
default: TCP
description: Protocol for port. Must
be UDP, TCP, or SCTP. Defaults to
"TCP".
Expand Down
2 changes: 1 addition & 1 deletion bundle/manifests/velero.io_schedules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: schedules.velero.io
spec:
Expand Down
2 changes: 1 addition & 1 deletion bundle/manifests/velero.io_serverstatusrequests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: serverstatusrequests.velero.io
spec:
Expand Down
2 changes: 1 addition & 1 deletion bundle/manifests/velero.io_volumesnapshotlocations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: volumesnapshotlocations.velero.io
spec:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: backups.velero.io
spec:
Expand Down Expand Up @@ -435,4 +437,4 @@ status:
kind: ""
plural: ""
conditions: []
storedVersions: []
storedVersions: []
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: backupstoragelocations.velero.io
spec:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: deletebackuprequests.velero.io
spec:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: downloadrequests.velero.io
spec:
Expand Down Expand Up @@ -44,6 +46,7 @@ spec:
- BackupLog
- BackupContents
- BackupVolumeSnapshots
- BackupItemSnapshots
- BackupResourceList
- RestoreLog
- RestoreResults
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: podvolumebackups.velero.io
spec:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: podvolumerestores.velero.io
spec:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: resticrepositories.velero.io
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: restores.velero.io
spec:
Expand Down Expand Up @@ -892,6 +892,7 @@ spec:
by services.
type: string
protocol:
default: TCP
description: Protocol for port. Must
be UDP, TCP, or SCTP. Defaults to
"TCP".
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: schedules.velero.io
spec:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: serverstatusrequests.velero.io
spec:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: volumesnapshotlocations.velero.io
spec:
Expand Down
22 changes: 11 additions & 11 deletions config/crd/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
resources:
- bases/oadp.openshift.io_dataprotectionapplications.yaml
- bases/oadp.openshift.io_cloudstorages.yaml
- bases/backup.crd.yaml
- bases/backupstoragelocation.crd.yaml
- bases/deletebackuprequest.crd.yaml
- bases/downloadrequest.crd.yaml
- bases/podvolumebackup.crd.yaml
- bases/podvolumerestore.crd.yaml
- bases/resticrepository.crd.yaml
- bases/restore.crd.yaml
- bases/schedule.crd.yaml
- bases/serverstatusrequest.crd.yaml
- bases/volumesnapshotlocation.crd.yaml
- bases/velero.io_backups.yaml
- bases/velero.io_backupstoragelocations.yaml
- bases/velero.io_deletebackuprequests.yaml
- bases/velero.io_downloadrequests.yaml
- bases/velero.io_podvolumebackups.yaml
- bases/velero.io_podvolumerestores.yaml
- bases/velero.io_resticrepositories.yaml
- bases/velero.io_restores.yaml
- bases/velero.io_schedules.yaml
- bases/velero.io_serverstatusrequests.yaml
- bases/velero.io_volumesnapshotlocations.yaml
#+kubebuilder:scaffold:crdkustomizeresource

patchesStrategicMerge:
Expand Down
14 changes: 7 additions & 7 deletions pkg/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ const (

// Images
const (
VeleroImage = "quay.io/konveyor/velero:konveyor-1.7.0"
OpenshiftPluginImage = "quay.io/konveyor/openshift-velero-plugin:oadp-0.3.0"
AWSPluginImage = "quay.io/konveyor/velero-plugin-for-aws:konveyor-1.3.0"
AzurePluginImage = "quay.io/konveyor/velero-plugin-for-microsoft-azure:konveyor-1.3.0"
GCPPluginImage = "quay.io/konveyor/velero-plugin-for-gcp:konveyor-1.3.0"
CSIPluginImage = "quay.io/konveyor/velero-plugin-for-csi:konveyor-0.2.0"
RegistryImage = "quay.io/konveyor/registry:oadp-0.3.0"
VeleroImage = "quay.io/konveyor/velero:latest"
OpenshiftPluginImage = "quay.io/konveyor/openshift-velero-plugin:latest"
AWSPluginImage = "quay.io/konveyor/velero-plugin-for-aws:latest"
AzurePluginImage = "quay.io/konveyor/velero-plugin-for-microsoft-azure:latest"
GCPPluginImage = "quay.io/konveyor/velero-plugin-for-gcp:latest"
CSIPluginImage = "quay.io/konveyor/velero-plugin-for-csi:latest"
RegistryImage = "quay.io/konveyor/registry:latest"
KubeVirtPluginImage = "quay.io/konveyor/kubevirt-velero-plugin:v0.2.0"
)

Expand Down

0 comments on commit ce1d1fe

Please sign in to comment.