Skip to content

Add restore resource priorities configuration option#268

Merged
dymurray merged 4 commits into
openshift:masterfrom
kaovilai:addRestoreResourcePrioritiesConfigurationOption
Sep 10, 2021
Merged

Add restore resource priorities configuration option#268
dymurray merged 4 commits into
openshift:masterfrom
kaovilai:addRestoreResourcePrioritiesConfigurationOption

Conversation

@kaovilai
Copy link
Copy Markdown
Member

@kaovilai kaovilai commented Sep 2, 2021

  • add feature flag to velero pod --features if restoreResourcesVersionPriority configmap is defined (does not change user applied velero CR)
  • implemented removeDuplicateValues function

Closes #176

@openshift-ci openshift-ci Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 2, 2021
@openshift-ci openshift-ci Bot requested review from jmontleon and sseago September 2, 2021 20:31
@kaovilai kaovilai force-pushed the addRestoreResourcePrioritiesConfigurationOption branch from 8ee4c12 to 87225f6 Compare September 2, 2021 20:38
@openshift-ci openshift-ci Bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 2, 2021
@kaovilai kaovilai force-pushed the addRestoreResourcePrioritiesConfigurationOption branch from 87225f6 to 63f1fb7 Compare September 2, 2021 20:59
@kaovilai kaovilai requested review from dymurray and shubham-pampattiwar and removed request for jmontleon and sseago September 2, 2021 21:04
Copy link
Copy Markdown
Member

@dymurray dymurray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall LGTM, couple of comments

Comment thread controllers/restore_resource_version_priority.go
Comment thread controllers/velero.go
- add feature flag if restoreResourcesVersionPriority configmap is defined
- implemented removeDuplicateValues function
@kaovilai kaovilai force-pushed the addRestoreResourcePrioritiesConfigurationOption branch from 5ee1dbb to 4a91333 Compare September 8, 2021 19:41
@dymurray dymurray merged commit 8a61183 into openshift:master Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add restore resource priorities configuration option

2 participants