SHA256
1
0
forked from pool/velero
velero/velero.spec

116 lines
3.9 KiB
RPMSpec
Raw Normal View History

#
Accepting request 841106 from home:jenting:branches:devel:kubic - Add patch: add a flag cacert for velero backup-location create - Update to version v1.4.2 - v1.4.2 * log a warning instead of erroring if an additional item returned from a plugin can't be found in the Kubernetes API (#2595, @skriss) * Adjust restic default time out to 4 hours and base pod resource requests to 500m CPU/512Mi memory. (#2696, @nrb) * capture version of the CRD prior before invoking the remap_crd_version backup item action (#2683, @ashish-amarnath) - v1.4.0 * increment restic volumesnapshot count after successful pvb create (#2542, @ashish-amarnath) * Add details of CSI volumesnapshotcontents associated with a backup to velero backup describe when the EnableCSI feature flag is given on the velero client. (#2448, @nrb) * Allow users the option to retrieve all versions of a given resource (instead of just the preferred version) from the API server with the EnableAPIGroupVersions feature flag. (#2373, @brito-rafa) * Changed backup tarball format to store all versions of a given resource, updated backup tarball format to 1.1.0. (#2373, @brito-rafa) * allow feature flags to be passed from install CLI (#2503, @ashish-amarnath) * sync backups' CSI API objects into the cluster as part of the backup sync controller (#2496, @ashish-amarnath) * bug fix: in error location logging hook, if the item logged under the error key doesn't implement the error interface, don't return an error since this is a valid scenario (#2487, @skriss) * bug fix: in CRD restore plugin, don't use runtime.DefaultUnstructuredConverter.FromUnstructured(...) to avoid conversion issues when float64 fields contain int values (#2484, @skriss) * during backup deletion also delete CSI volumesnapshotcontents that were created as a part of the backup but the associated volumesnapshot object does not exist (#2480, @ashish-amarnath) * If plugins don't support the --features flag, don't pass it to them. Also, update the standard plugin server to ignore unknown flags. (#2479, @skriss) * At backup time, if a CustomResourceDefinition appears to have been created via the v1beta1 endpoint, retrieve it from the v1beta1 endpoint instead of simply changing the APIVersion. (#2478, @nrb) * update container base images from ubuntu:bionic to ubuntu:focal (#2471, @skriss) * bug fix: when a resource includes/excludes list contains unresolvable items, don't remove them from the list, so that the list doesn't inadvertently end up matching all resources. (#2462, @skriss) * Azure: add support for getting storage account key for restic directly from an environment variable (#2455, @jaygridley) * Support to skip VSL validation for the backup having SnapshotVolumes set to false or created with --snapshot-volumes=false (#2450, @mynktl) * report backup progress (number of items backed up so far out of an estimated total number of items) during backup in the logs and as status fields on the Backup custom resource (#2440, @skriss) * bug fix: populate namespace in logs for backup errors (#2438, @skriss) * during backup deletion also delete CSI volumesnapshots that were created as a part of the backup (#2411, @ashish-amarnath) * bump Kubernetes module dependencies to v0.17.4 to get fix for kubernetes/kubernetes#86149 (#2407, @skriss) * bug fix: save PodVolumeBackup manifests to object storage even if the volume was empty, so that on restore, the PV is dynamically reprovisioned if applicable (#2390, @skriss) * Adding new restoreItemAction for PVC to update the selected-node annotation (#2377, @mynktl) * Added a --cacert flag to the install command to provide the CA bundle to use when verifying TLS connections to object storage (#2368, @mansam) * Added a --cacert flag to the velero client describe, download, and logs commands to allow passing a path to a certificate to use when verifying TLS connections to object storage. Also added a corresponding client config option called cacert which takes a path to a certificate bundle to use as a default when --cacert is not specified. (#2364, @mansam) * support setting a custom CA certificate on a BSL to use when verifying TLS connections (#2353, @mansam) * adding annotations on backup CRD for k8s major, minor and git versions (#2346, @brito-rafa) * When the EnableCSI feature flag is provided, upload CSI VolumeSnapshots and VolumeSnapshotContents to object storage as gzipped JSON. (#2323, @nrb) * add CSI snapshot API types into default restore priorities (#2318, @ashish-amarnath) * refactoring: wait for all informer caches to sync before running controllers (#2299, @skriss) * refactor restore code to lazily resolve resources via discovery and eliminate second restore loop for instances of restored CRDs (#2248, @skriss) * upgrade to go 1.14 and migrate from dep to go modules (#2214, @skriss) * clarify the wording for restore describe for namespaces included - v1.3.2 * Allow plugins/ as a valid top-level directory within backup storage locations. This directory is a place for plugin authors to store arbitrary data as needed. It is recommended to create an additional subdirectory under plugins/ specifically for your plugin, e.g. plugins/my-plugin-data/. (#2350, @skriss) * bug fix: don't panic in velero restic repo get when last maintenance time is nil (#2315, @skriss) - Pass git tree status = clean to fix `velero version` output Git commit with trailing dash - Bump version 1.3.1 - Bump version 1.3.0 - Simplify rpm spec - fix velero-restic-restore-helper package name - Initial package v1.2.0 OBS-URL: https://build.opensuse.org/request/show/841106 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/velero?expand=0&rev=5
2020-10-12 07:07:20 +00:00
# spec file for package velero
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Accepting request 841106 from home:jenting:branches:devel:kubic - Add patch: add a flag cacert for velero backup-location create - Update to version v1.4.2 - v1.4.2 * log a warning instead of erroring if an additional item returned from a plugin can't be found in the Kubernetes API (#2595, @skriss) * Adjust restic default time out to 4 hours and base pod resource requests to 500m CPU/512Mi memory. (#2696, @nrb) * capture version of the CRD prior before invoking the remap_crd_version backup item action (#2683, @ashish-amarnath) - v1.4.0 * increment restic volumesnapshot count after successful pvb create (#2542, @ashish-amarnath) * Add details of CSI volumesnapshotcontents associated with a backup to velero backup describe when the EnableCSI feature flag is given on the velero client. (#2448, @nrb) * Allow users the option to retrieve all versions of a given resource (instead of just the preferred version) from the API server with the EnableAPIGroupVersions feature flag. (#2373, @brito-rafa) * Changed backup tarball format to store all versions of a given resource, updated backup tarball format to 1.1.0. (#2373, @brito-rafa) * allow feature flags to be passed from install CLI (#2503, @ashish-amarnath) * sync backups' CSI API objects into the cluster as part of the backup sync controller (#2496, @ashish-amarnath) * bug fix: in error location logging hook, if the item logged under the error key doesn't implement the error interface, don't return an error since this is a valid scenario (#2487, @skriss) * bug fix: in CRD restore plugin, don't use runtime.DefaultUnstructuredConverter.FromUnstructured(...) to avoid conversion issues when float64 fields contain int values (#2484, @skriss) * during backup deletion also delete CSI volumesnapshotcontents that were created as a part of the backup but the associated volumesnapshot object does not exist (#2480, @ashish-amarnath) * If plugins don't support the --features flag, don't pass it to them. Also, update the standard plugin server to ignore unknown flags. (#2479, @skriss) * At backup time, if a CustomResourceDefinition appears to have been created via the v1beta1 endpoint, retrieve it from the v1beta1 endpoint instead of simply changing the APIVersion. (#2478, @nrb) * update container base images from ubuntu:bionic to ubuntu:focal (#2471, @skriss) * bug fix: when a resource includes/excludes list contains unresolvable items, don't remove them from the list, so that the list doesn't inadvertently end up matching all resources. (#2462, @skriss) * Azure: add support for getting storage account key for restic directly from an environment variable (#2455, @jaygridley) * Support to skip VSL validation for the backup having SnapshotVolumes set to false or created with --snapshot-volumes=false (#2450, @mynktl) * report backup progress (number of items backed up so far out of an estimated total number of items) during backup in the logs and as status fields on the Backup custom resource (#2440, @skriss) * bug fix: populate namespace in logs for backup errors (#2438, @skriss) * during backup deletion also delete CSI volumesnapshots that were created as a part of the backup (#2411, @ashish-amarnath) * bump Kubernetes module dependencies to v0.17.4 to get fix for kubernetes/kubernetes#86149 (#2407, @skriss) * bug fix: save PodVolumeBackup manifests to object storage even if the volume was empty, so that on restore, the PV is dynamically reprovisioned if applicable (#2390, @skriss) * Adding new restoreItemAction for PVC to update the selected-node annotation (#2377, @mynktl) * Added a --cacert flag to the install command to provide the CA bundle to use when verifying TLS connections to object storage (#2368, @mansam) * Added a --cacert flag to the velero client describe, download, and logs commands to allow passing a path to a certificate to use when verifying TLS connections to object storage. Also added a corresponding client config option called cacert which takes a path to a certificate bundle to use as a default when --cacert is not specified. (#2364, @mansam) * support setting a custom CA certificate on a BSL to use when verifying TLS connections (#2353, @mansam) * adding annotations on backup CRD for k8s major, minor and git versions (#2346, @brito-rafa) * When the EnableCSI feature flag is provided, upload CSI VolumeSnapshots and VolumeSnapshotContents to object storage as gzipped JSON. (#2323, @nrb) * add CSI snapshot API types into default restore priorities (#2318, @ashish-amarnath) * refactoring: wait for all informer caches to sync before running controllers (#2299, @skriss) * refactor restore code to lazily resolve resources via discovery and eliminate second restore loop for instances of restored CRDs (#2248, @skriss) * upgrade to go 1.14 and migrate from dep to go modules (#2214, @skriss) * clarify the wording for restore describe for namespaces included - v1.3.2 * Allow plugins/ as a valid top-level directory within backup storage locations. This directory is a place for plugin authors to store arbitrary data as needed. It is recommended to create an additional subdirectory under plugins/ specifically for your plugin, e.g. plugins/my-plugin-data/. (#2350, @skriss) * bug fix: don't panic in velero restic repo get when last maintenance time is nil (#2315, @skriss) - Pass git tree status = clean to fix `velero version` output Git commit with trailing dash - Bump version 1.3.1 - Bump version 1.3.0 - Simplify rpm spec - fix velero-restic-restore-helper package name - Initial package v1.2.0 OBS-URL: https://build.opensuse.org/request/show/841106 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/velero?expand=0&rev=5
2020-10-12 07:07:20 +00:00
%define goipath github.com/vmware-tanzu/velero
%define commit cdf3acab5aa562a7841ce733b964b0dc13d10c71
%define gitstate clean
Name: velero
Accepting request 955178 from home:jenting:branches:devel:kubic - Update to version 1.8.0: * Undeprecate the volumesnapshot plugin in the doc * Clean up the change log * cherry pick to 1.8 Change 1.8 plugins version to release version * Cherry pick to1.8 - Add 1.8 plugins map in e2e test * E2E SSR test add retry mechanism and logs * Remove reference of restic_restore_action.go from the doc * Pin the base image and golang img for v1.8.0 release * Update changelog for v1.8.0 (#4530) * Update doc for v1.8 * E2E test on ssr object with controller namespace mix-ups * Check whether the volume is provisioned by CSI driver or not by the annotation as well * Support running e2e testing on k8s 1.23.0 * Check the existence of the expected service when ignoring the NodePort already allocated error * Fix E2E upgrade parameter issue caused by previous PR * Bump up velero version in upgrade test * add links to plugin repos * minor typo fixes * readme changes * Add kubernetes version compatability matrix * Initialize the labels field of `velero backup-location create` option * Update CSI docs with more context * Fix e2e 2500 namespaces scale test timeout problem * Add backup deletion e2e test * Parse resource from backup tarball directly rather than resolving it via discovery service to avoid #4009 (#4398) * Keep the annotation "pv.kubernetes.io/provisioned-by" when restoring PVs * Ignore the provided port is already allocated error when restoring the LoadBalancer service (#4462) * Return the error when getting backup store in backup deletion controller (#4465) * Add changelog. * Revert "Migrate backup sync controller from code-generator to kubebuilder (#4423)" * Update code standards to direct folks to create changelogs on release… (#4443) * Add rbac and annotation test cases * Fix statefulsets volumeClaimTemplates storageClassName after use Changing PV/PVC Storage Classes (#4375) * Upgrade e2e test vsphere plugin * Migrate backup sync controller from code-generator to kubebuilder (#4423) * Remove backups and restic repos associated with deleted BSL(s) (#4377) * Adds <backup-name>-itemsnapshots.gz file to backup (when provided). (#4429) * fix: remove --crds-version in velero install command * Consolidated code for resolving actions and plugins into ActionResolver (#4410) * Add defaultVolumesToRestic to schedule api docs * Fix e2e test failures for the inappropriate optimaze of velero install * Limit backup namespaces on test resource filtering cases * Added UploadProgressFeature flag to enable UploadProgressMonitoring and ItemSnapshotters * feat: improve documentation for reverse selector * Bump up Go to 1.17 * Add resoure filtering test cases * Added ItemSnapshotter to the plugin server framework. (#4417) * update documentation (#4378) * Add restoreactionitem plugin to handle admission webhook configurations * Build for darwin_arm64 (#4409) * feat: migrate kubebuilder from v2 to v3 * Update issue template to reference velero debug (#4384) * Adjust structure of e2e test codes Put every test moduels into seperate packages and all velero install parameters integrated into one struct * Add the key for GKE zone for AZ collection * Fix snapshot e2e test issue of jsonpath * fix: modify generated from schedule's backup name timestamp to UTC ti… (#4353) * Use logrusr instead of zap. * ItemSnapshotter plugin APIs. Addresses #3753 (#4077) * Design doc for delete associated backup and restic repos when BSL is deleted (#4297) * Fix: add init log option for velero controller-runtime manager. * Fix: add init log option for velero controller-runtime manager. * Read Availability zone from nodeAffinity requirements * Use factory.Namespace() to replace hardcoded velero namespace (#4346) * Ignore the `provided port is already allocated` error when restoring the `NodePort` service (#4336) * Return the error if velero failed to detect S3 region for restic repo (#4343) * Fix: add init log option for velero controller-runtime manager. * PV remapClaimRefNS was being skipped when there was no snapshot (#3708) * Check the failed phases either when uploading the snapshot in E2E testing (#4162) * Only set BSL credential field if provided (#4322) * add 4306 changelog * - fix buggy pager func fix paging items in to use list options passed by the paging function * Verify group before treating resource as cohabitating (#4126) * Fix CVE-2020-29652 and CVE-2020-26160 (#4274) * Correct the environment variable for azure credential file (#4313) * Validation allows empty string namespace * Don't create a backup immediately after creating a schedule (#4281) * Add daniel to contributor list * Update the design of `velero debug` (#4081) * Add WenkaiYin to contributor list (#4277) * Limit kubebuilder controllers to work only for objects in own namespaces * Namespace validation now allows asterisks * Update release instruction * Update 1.8 roadmap for Technical health * 1.8 roadmap (#4210) * Updated Tiltfile to pass REGISTRY env variable to build.sh Set default registry to be docker.io/velero in Tiltfile and example * Bump latest doc to v1.7 * Initial draft of an object graph manifest (#3466) * #4040 - documentation - adding more troubleshooting information durin… (#4041) * Specify the "--snapshot-volumes=false" option explicitly when running backup with Restic * Refine tag-release.sh OBS-URL: https://build.opensuse.org/request/show/955178 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/velero?expand=0&rev=25
2022-02-16 08:31:26 +00:00
Version: 1.8.0
Release: 0
Summary: Backup program with deduplication and encryption
License: Apache-2.0
Group: Productivity/Archiving/Backup
URL: https://velero.io
Source0: https://github.com/vmware-tanzu/velero/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Accepting request 841106 from home:jenting:branches:devel:kubic - Add patch: add a flag cacert for velero backup-location create - Update to version v1.4.2 - v1.4.2 * log a warning instead of erroring if an additional item returned from a plugin can't be found in the Kubernetes API (#2595, @skriss) * Adjust restic default time out to 4 hours and base pod resource requests to 500m CPU/512Mi memory. (#2696, @nrb) * capture version of the CRD prior before invoking the remap_crd_version backup item action (#2683, @ashish-amarnath) - v1.4.0 * increment restic volumesnapshot count after successful pvb create (#2542, @ashish-amarnath) * Add details of CSI volumesnapshotcontents associated with a backup to velero backup describe when the EnableCSI feature flag is given on the velero client. (#2448, @nrb) * Allow users the option to retrieve all versions of a given resource (instead of just the preferred version) from the API server with the EnableAPIGroupVersions feature flag. (#2373, @brito-rafa) * Changed backup tarball format to store all versions of a given resource, updated backup tarball format to 1.1.0. (#2373, @brito-rafa) * allow feature flags to be passed from install CLI (#2503, @ashish-amarnath) * sync backups' CSI API objects into the cluster as part of the backup sync controller (#2496, @ashish-amarnath) * bug fix: in error location logging hook, if the item logged under the error key doesn't implement the error interface, don't return an error since this is a valid scenario (#2487, @skriss) * bug fix: in CRD restore plugin, don't use runtime.DefaultUnstructuredConverter.FromUnstructured(...) to avoid conversion issues when float64 fields contain int values (#2484, @skriss) * during backup deletion also delete CSI volumesnapshotcontents that were created as a part of the backup but the associated volumesnapshot object does not exist (#2480, @ashish-amarnath) * If plugins don't support the --features flag, don't pass it to them. Also, update the standard plugin server to ignore unknown flags. (#2479, @skriss) * At backup time, if a CustomResourceDefinition appears to have been created via the v1beta1 endpoint, retrieve it from the v1beta1 endpoint instead of simply changing the APIVersion. (#2478, @nrb) * update container base images from ubuntu:bionic to ubuntu:focal (#2471, @skriss) * bug fix: when a resource includes/excludes list contains unresolvable items, don't remove them from the list, so that the list doesn't inadvertently end up matching all resources. (#2462, @skriss) * Azure: add support for getting storage account key for restic directly from an environment variable (#2455, @jaygridley) * Support to skip VSL validation for the backup having SnapshotVolumes set to false or created with --snapshot-volumes=false (#2450, @mynktl) * report backup progress (number of items backed up so far out of an estimated total number of items) during backup in the logs and as status fields on the Backup custom resource (#2440, @skriss) * bug fix: populate namespace in logs for backup errors (#2438, @skriss) * during backup deletion also delete CSI volumesnapshots that were created as a part of the backup (#2411, @ashish-amarnath) * bump Kubernetes module dependencies to v0.17.4 to get fix for kubernetes/kubernetes#86149 (#2407, @skriss) * bug fix: save PodVolumeBackup manifests to object storage even if the volume was empty, so that on restore, the PV is dynamically reprovisioned if applicable (#2390, @skriss) * Adding new restoreItemAction for PVC to update the selected-node annotation (#2377, @mynktl) * Added a --cacert flag to the install command to provide the CA bundle to use when verifying TLS connections to object storage (#2368, @mansam) * Added a --cacert flag to the velero client describe, download, and logs commands to allow passing a path to a certificate to use when verifying TLS connections to object storage. Also added a corresponding client config option called cacert which takes a path to a certificate bundle to use as a default when --cacert is not specified. (#2364, @mansam) * support setting a custom CA certificate on a BSL to use when verifying TLS connections (#2353, @mansam) * adding annotations on backup CRD for k8s major, minor and git versions (#2346, @brito-rafa) * When the EnableCSI feature flag is provided, upload CSI VolumeSnapshots and VolumeSnapshotContents to object storage as gzipped JSON. (#2323, @nrb) * add CSI snapshot API types into default restore priorities (#2318, @ashish-amarnath) * refactoring: wait for all informer caches to sync before running controllers (#2299, @skriss) * refactor restore code to lazily resolve resources via discovery and eliminate second restore loop for instances of restored CRDs (#2248, @skriss) * upgrade to go 1.14 and migrate from dep to go modules (#2214, @skriss) * clarify the wording for restore describe for namespaces included - v1.3.2 * Allow plugins/ as a valid top-level directory within backup storage locations. This directory is a place for plugin authors to store arbitrary data as needed. It is recommended to create an additional subdirectory under plugins/ specifically for your plugin, e.g. plugins/my-plugin-data/. (#2350, @skriss) * bug fix: don't panic in velero restic repo get when last maintenance time is nil (#2315, @skriss) - Pass git tree status = clean to fix `velero version` output Git commit with trailing dash - Bump version 1.3.1 - Bump version 1.3.0 - Simplify rpm spec - fix velero-restic-restore-helper package name - Initial package v1.2.0 OBS-URL: https://build.opensuse.org/request/show/841106 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/velero?expand=0&rev=5
2020-10-12 07:07:20 +00:00
Source1: vendor.tar.gz
BuildRequires: golang-packaging
Accepting request 922489 from home:jenting:branches:devel:kubic - Update to version 1.7.0: * Specify the "--snapshot-volumes=false" option explicitly when running backup with Restic * Pin the base image for v1.7 (#4180) * Fix plugins incompatible issue in upgrade test (#4141) * run backup/restore describe in debug subcommand (#4161) * Recovery the workround for aws pending issue * Use velero debug command to dump the logs when case failed * Fix the link and content for upgrade instruction * Add upgrade instructions for v1.7.0 * Add upgrade test into E2E tests * Generate v1.7 docs * Generate 1.7 changelog * Add `velero debug` to documentation * Validate namespace in velero backup create command (#4057) * Empty the "ClusterIPs" along with "ClusterIP" when "ClusterIP" isn't "None" (#4101) * pass velero cli executable to crashd * Skip restic backup/restore of DownwardAPI volumes (#4076) * remove IsUnstructuredCRDReady (#4085) * Several fixes to improve the stability of E2E testing (#4056) * Enhance e2e test * Implement `velero debug` (#4022) * Install/uninstall velero by CLI in the E2E test case * Fix log print error using a wrong var name (#4063) * add changelog * fixes for CVE-2021-3121 and CVE-2021-3580 * new roadmap for 1.7 (#4048) * Change the base image to distroless (#4055) * internal/delete: fix dropped error (#4016) * Add documentation for TLS error 116 (#3811) * Page list requests by default (#3823) * Wait the namespace deletion completed before removing the CRDs (#4007) * Update ibm-config.md (#4024) * Changed format of download request name to use a random UUID rather than (#4034) * Fix the random failure of E2E test cases (#4005) * Use LabelSelector in Action ResourceSelector * Skip restore of APIServices managed by Kubernetes * Distinguish between different unnamed node ports when preserving * Add Kubernetes v1.22 CI test * Use appropriate CRD API during readiness check (#4015) * Restic Backup: Add check if Pod is successful or failed for emptyDir.… (#3993) * pkg/install: fix dropped error * Bump up Go to 1.16 (#3990) * Select the velero deployment with both label and container name (#3996) * Updated uninstall to remove both v1beta1 and v1 CRDs if present (#3997) * Patch the resources of velero and kibishii when running E2E testing * Adding new meeting details to community documentation page (#4001) * enable e2e tests to choose crd apiVersion * Control the name of backup used in E2E test to avoid issue on vSphere (#3985) * Change CRDs default API version v1 * Update the Tiltfile to use v1 CRDs * Update site documentation * Add CI CRD check on K8s v1.21.1 * Update CI codespell check * Add changelog * Add new flag --crds-version of default CRD version to generated * Run script to generate both v1beta1 and v1 CRDs * Update script to generate both v1beta1 and v1 CRDs * Fixing multipleNamespaceTest bug - Missing expect statement in test (#3983) * Run "Basic" test cases only on Github Action for pull requests (#3989) * Bump up vSphere plugin version to v1.1.1 * Generate test report for the E2E testing * Update stale bot setting (#3979) * Update upgrade instructions to reference v1.6.2 (#3977) * Add the design for `velero debug` (#3973) * Fix push-build-image target * Change restic image log messages to info level * Adding Replicated logo to adopters page - take 2 * Update k8s libraries to latest patch version (#3953) * pkg/restore: fix dropped error * Allow registry to be configured at build time * Nominate Wenkai Yin to become a maintainer * Nominate Daniel Jiang to become a maintainer * Enable stale bot * Add changelog * Upgrade Velero ClusterRoleBinding to use v1 API * Fix -install-velero flag for e2e tests * Enable the E2E test on Github Action * So Long, and Thanks for All the Fish * Update upgrade instructions to reference v1.6.1 (#3893) * Fix:rss link blindly appends /blog/index.html (#3886) * Fix the link of release information (#3883) * regression introduced in 1.6 restore progress: fix CR restore (#3845) * Added multiple namespace test (#3763) * Add Labels field to BackupSpec (#3641) * Skip volume restores from projected sources (#3877) * API groups e2e tests remove controllers (#3564) * fix typos for code spell test * skip backuping projected volume * Update changelog for new PR. * Refactor GetRepoIdentifier tests and add new case * Consolidate api clients for e2e tests (#3764) * Remove ashish-amarnath as maintainer (#3842) * Delete residual file caused by network interruption and so on. Fixes #3204 (#3241) * Updated design to take into account protocol buffer limitations. (#3464) * Add document describing manual test cases (#3601) * Update Enable API Group Versions Feature docs (#3809) * Update MinIO docs for correct AWS plugin version (#3814) * Added BackupPhaseUploading and BackupPhaseUploadingPartialFailure backup (#3805) * Remove Nolan Brubaker from active contributors * Remove the [insert current year] in the code standards doc * Add information about compression in Velero (#3818) * Add PVC UID label to PVR (as we already have for PVB) (#3792) * Remove nrb from PR review rotation (#3810) * Support pulling plugins by digest (#3803) * Update docs to state Kubernetes v1.12 is needed (#3787) * Update docs to include schedule backup example (#3478) * Add note about updating CRDs during development (#3784) * service_action: use unstructured to marshal selective fields (#3789) * Fix gh action (#3743) * Changed kibishii wait commands to output stdout/stderr, makes for better debugging (#3762) * ✨ ⚠️ Remove CSI volumesnapshot artifact deletion (#3734) * Added site bio/img for maintainer/contributor sseago (#3750) * Storage Supported Providers hyperlink is updated to refer to the correct path (#3667) * Design doc for upload progress monitoring (#3416) * Changes to secrets design (#3413) * Propose Scott Seago as a maintainer (#3747) * A small refactor of the e2e tests (#3726) * update other versions * fix on-premise `--plugins` flag documentation * Shorten OpenStack plugin documentation link text * Add cpanato as Emeritus Maintainers (#3725) * Fix typo in the restic document (#3728) * Fix typo in restic documentation * 🐛 Fix plugin name derivation from image name (#3711) * Fix misspelled file name (#3712) * Docs: include OpenStack plugin for version 1.6 * Define a Velero release schedule (#3551) * Added release criteria to release-instructions (#3598) * Improve plugin release instructions (#3591) * Fix format * Fix path * Consolidate config files and fix path * Add Abbie to PR review requests * Add logo assets * Fix incorrect links in BSL docs (#3680) * Added Eleanor to Team Bios and to Maintainers page, removed Tim (#3593) * Add blog post for Velero 1.6 (#3676) * use region input to detect the Bucket region Signed-off-by: Jalaja Ganapathy <jalaja@replicated.com> * Docs: Add OpenStack list item to plugin page * Docs: include OpenStack plugin in community supported providers * Correctly render links with fragments on docs pages OBS-URL: https://build.opensuse.org/request/show/922489 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/velero?expand=0&rev=22
2021-10-01 06:08:45 +00:00
BuildRequires: golang(API) = 1.16
%description
velero is a backup program. It supports verification, encryption,
snapshots and deduplication.
%package velero-restic-restore-helper
Summary: Restic restore helper for %{name}
Group: Productivity/Archiving/Backup
Requires: %{name} = %{version}
Supplements: packageand(velero:velero-restic-restore-helper)
%description velero-restic-restore-helper
Restic restore helper for %{name}.
%package bash-completion
Summary: Bash Completion for %{name}
Requires: %{name} = %{version}
Supplements: (%{name} and bash-completion)
BuildArch: noarch
%description bash-completion
Bash command line completion support for %{name}.
%package zsh-completion
Summary: Zsh Completion for %{name}
Requires: %{name} = %{version}
Supplements: (%{name} and zsh)
BuildArch: noarch
%description zsh-completion
Zsh command line completion support for %{name}.
%package fish-completion
Summary: Fish Completion for %{name}
Requires: %{name} = %{version}
Supplements: (%{name} and fish)
BuildArch: noarch
%description fish-completion
Fish command line completion support for %{name}.
%prep
%setup -q -a1
%build
%goprep %{goipath}
export CGO_ENABLED=0
Accepting request 841106 from home:jenting:branches:devel:kubic - Add patch: add a flag cacert for velero backup-location create - Update to version v1.4.2 - v1.4.2 * log a warning instead of erroring if an additional item returned from a plugin can't be found in the Kubernetes API (#2595, @skriss) * Adjust restic default time out to 4 hours and base pod resource requests to 500m CPU/512Mi memory. (#2696, @nrb) * capture version of the CRD prior before invoking the remap_crd_version backup item action (#2683, @ashish-amarnath) - v1.4.0 * increment restic volumesnapshot count after successful pvb create (#2542, @ashish-amarnath) * Add details of CSI volumesnapshotcontents associated with a backup to velero backup describe when the EnableCSI feature flag is given on the velero client. (#2448, @nrb) * Allow users the option to retrieve all versions of a given resource (instead of just the preferred version) from the API server with the EnableAPIGroupVersions feature flag. (#2373, @brito-rafa) * Changed backup tarball format to store all versions of a given resource, updated backup tarball format to 1.1.0. (#2373, @brito-rafa) * allow feature flags to be passed from install CLI (#2503, @ashish-amarnath) * sync backups' CSI API objects into the cluster as part of the backup sync controller (#2496, @ashish-amarnath) * bug fix: in error location logging hook, if the item logged under the error key doesn't implement the error interface, don't return an error since this is a valid scenario (#2487, @skriss) * bug fix: in CRD restore plugin, don't use runtime.DefaultUnstructuredConverter.FromUnstructured(...) to avoid conversion issues when float64 fields contain int values (#2484, @skriss) * during backup deletion also delete CSI volumesnapshotcontents that were created as a part of the backup but the associated volumesnapshot object does not exist (#2480, @ashish-amarnath) * If plugins don't support the --features flag, don't pass it to them. Also, update the standard plugin server to ignore unknown flags. (#2479, @skriss) * At backup time, if a CustomResourceDefinition appears to have been created via the v1beta1 endpoint, retrieve it from the v1beta1 endpoint instead of simply changing the APIVersion. (#2478, @nrb) * update container base images from ubuntu:bionic to ubuntu:focal (#2471, @skriss) * bug fix: when a resource includes/excludes list contains unresolvable items, don't remove them from the list, so that the list doesn't inadvertently end up matching all resources. (#2462, @skriss) * Azure: add support for getting storage account key for restic directly from an environment variable (#2455, @jaygridley) * Support to skip VSL validation for the backup having SnapshotVolumes set to false or created with --snapshot-volumes=false (#2450, @mynktl) * report backup progress (number of items backed up so far out of an estimated total number of items) during backup in the logs and as status fields on the Backup custom resource (#2440, @skriss) * bug fix: populate namespace in logs for backup errors (#2438, @skriss) * during backup deletion also delete CSI volumesnapshots that were created as a part of the backup (#2411, @ashish-amarnath) * bump Kubernetes module dependencies to v0.17.4 to get fix for kubernetes/kubernetes#86149 (#2407, @skriss) * bug fix: save PodVolumeBackup manifests to object storage even if the volume was empty, so that on restore, the PV is dynamically reprovisioned if applicable (#2390, @skriss) * Adding new restoreItemAction for PVC to update the selected-node annotation (#2377, @mynktl) * Added a --cacert flag to the install command to provide the CA bundle to use when verifying TLS connections to object storage (#2368, @mansam) * Added a --cacert flag to the velero client describe, download, and logs commands to allow passing a path to a certificate to use when verifying TLS connections to object storage. Also added a corresponding client config option called cacert which takes a path to a certificate bundle to use as a default when --cacert is not specified. (#2364, @mansam) * support setting a custom CA certificate on a BSL to use when verifying TLS connections (#2353, @mansam) * adding annotations on backup CRD for k8s major, minor and git versions (#2346, @brito-rafa) * When the EnableCSI feature flag is provided, upload CSI VolumeSnapshots and VolumeSnapshotContents to object storage as gzipped JSON. (#2323, @nrb) * add CSI snapshot API types into default restore priorities (#2318, @ashish-amarnath) * refactoring: wait for all informer caches to sync before running controllers (#2299, @skriss) * refactor restore code to lazily resolve resources via discovery and eliminate second restore loop for instances of restored CRDs (#2248, @skriss) * upgrade to go 1.14 and migrate from dep to go modules (#2214, @skriss) * clarify the wording for restore describe for namespaces included - v1.3.2 * Allow plugins/ as a valid top-level directory within backup storage locations. This directory is a place for plugin authors to store arbitrary data as needed. It is recommended to create an additional subdirectory under plugins/ specifically for your plugin, e.g. plugins/my-plugin-data/. (#2350, @skriss) * bug fix: don't panic in velero restic repo get when last maintenance time is nil (#2315, @skriss) - Pass git tree status = clean to fix `velero version` output Git commit with trailing dash - Bump version 1.3.1 - Bump version 1.3.0 - Simplify rpm spec - fix velero-restic-restore-helper package name - Initial package v1.2.0 OBS-URL: https://build.opensuse.org/request/show/841106 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/velero?expand=0&rev=5
2020-10-12 07:07:20 +00:00
%gobuild -mod vendor -installsuffix "static" -ldflags "-X %{goipath}/pkg/buildinfo.Version=%{version} -X %{goipath}/pkg/buildinfo.GitSHA=%{commit} -X %{goipath}/pkg/buildinfo.GitTreeState=%{gitstate}" cmd/velero
%gobuild -mod vendor -installsuffix "static" -ldflags "-X %{goipath}/pkg/buildinfo.Version=%{version} -X %{goipath}/pkg/buildinfo.GitSHA=%{commit} -X %{goipath}/pkg/buildinfo.GitTreeState=%{gitstate}" cmd/velero-restic-restore-helper
%install
%goinstall
mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions
%{buildroot}/%{_bindir}/%{name} completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
mkdir -p %{buildroot}%{_datarootdir}/zsh_completion.d
%{buildroot}/%{_bindir}/%{name} completion zsh > %{buildroot}%{_datarootdir}/zsh_completion.d/_%{name}
mkdir -p %{buildroot}%{_datadir}/fish/vendor_completions.d
%{buildroot}/%{_bindir}/%{name} completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
%files
%doc README.md
%license LICENSE
%{_bindir}/velero
%{_bindir}/velero-restic-restore-helper
%files bash-completion
%defattr(-,root,root)
%dir %{_datarootdir}/bash-completion/completions/
%{_datarootdir}/bash-completion/completions/%{name}
%files zsh-completion
%defattr(-,root,root)
%dir %{_datarootdir}/zsh_completion.d/
%{_datarootdir}/zsh_completion.d/_%{name}
%files fish-completion
%defattr(-,root,root)
%dir %{_datarootdir}/fish
%dir %{_datarootdir}/fish/vendor_completions.d
%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
%changelog