Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue: add flag to the schedule cmd to configure the useOwnerReferencesInBackup option #3176 #3182

Merged
merged 3 commits into from
Dec 15, 2020

Conversation

matheusjuvelino
Copy link
Contributor

@matheusjuvelino matheusjuvelino commented Dec 14, 2020

Fixes: #3176

Signed-off-by: matheusjuvelino [email protected]

Signed-off-by: matheusjuvelino <[email protected]>
Signed-off-by: matheusjuvelino <[email protected]>
Copy link
Contributor

@zubron zubron left a comment

Choose a reason for hiding this comment

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

Thanks for getting to this so quickly! I've left one comment but other than that, this looks good!

@@ -94,6 +95,7 @@ func NewCreateOptions() *CreateOptions {
func (o *CreateOptions) BindFlags(flags *pflag.FlagSet) {
o.BackupOptions.BindFlags(flags)
flags.StringVar(&o.Schedule, "schedule", o.Schedule, "a cron expression specifying a recurring schedule for this backup to run")
flags.BoolVar(&o.UseOwnerReferencesInBackup, "use-owner-rferences-in-backup", o.UseOwnerReferencesInBackup, "specifies whether to use OwnerReferences on backups created by this Schedule")
Copy link
Contributor

Choose a reason for hiding this comment

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

There is a typo in this flag, it should be "use-owner-references-in-backup".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, sorry for my mistake.

@github-actions github-actions bot requested a review from zubron December 14, 2020 22:35
Copy link
Contributor

@zubron zubron left a comment

Choose a reason for hiding this comment

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

Thanks for making the changes!

@nrb nrb merged commit 73693de into vmware-tanzu:main Dec 15, 2020
georgettica pushed a commit to georgettica/velero that referenced this pull request Dec 23, 2020
…cesInBackup` option vmware-tanzu#3176 (vmware-tanzu#3182)

* resolve: vmware-tanzu#3176

Signed-off-by: matheusjuvelino <[email protected]>

* created changelog

Signed-off-by: matheusjuvelino <[email protected]>

* fixed use-owner-rferences-in-backup flag for use-owner-references-in-backup

Signed-off-by: matheusjuvelino <[email protected]>
georgettica pushed a commit to georgettica/velero that referenced this pull request Jan 26, 2021
…cesInBackup` option vmware-tanzu#3176 (vmware-tanzu#3182)

* resolve: vmware-tanzu#3176

Signed-off-by: matheusjuvelino <[email protected]>

* created changelog

Signed-off-by: matheusjuvelino <[email protected]>

* fixed use-owner-rferences-in-backup flag for use-owner-references-in-backup

Signed-off-by: matheusjuvelino <[email protected]>
vadasambar pushed a commit to vadasambar/velero that referenced this pull request Feb 3, 2021
…cesInBackup` option vmware-tanzu#3176 (vmware-tanzu#3182)

* resolve: vmware-tanzu#3176

Signed-off-by: matheusjuvelino <[email protected]>

* created changelog

Signed-off-by: matheusjuvelino <[email protected]>

* fixed use-owner-rferences-in-backup flag for use-owner-references-in-backup

Signed-off-by: matheusjuvelino <[email protected]>
dharmab pushed a commit to dharmab/velero that referenced this pull request May 25, 2021
…cesInBackup` option vmware-tanzu#3176 (vmware-tanzu#3182)

* resolve: vmware-tanzu#3176

Signed-off-by: matheusjuvelino <[email protected]>

* created changelog

Signed-off-by: matheusjuvelino <[email protected]>

* fixed use-owner-rferences-in-backup flag for use-owner-references-in-backup

Signed-off-by: matheusjuvelino <[email protected]>
ywk253100 pushed a commit to ywk253100/velero that referenced this pull request Jun 29, 2021
…cesInBackup` option vmware-tanzu#3176 (vmware-tanzu#3182)

* resolve: vmware-tanzu#3176

Signed-off-by: matheusjuvelino <[email protected]>

* created changelog

Signed-off-by: matheusjuvelino <[email protected]>

* fixed use-owner-rferences-in-backup flag for use-owner-references-in-backup

Signed-off-by: matheusjuvelino <[email protected]>
gyaozhou pushed a commit to gyaozhou/velero-read that referenced this pull request May 14, 2022
…cesInBackup` option vmware-tanzu#3176 (vmware-tanzu#3182)

* resolve: vmware-tanzu#3176

Signed-off-by: matheusjuvelino <[email protected]>

* created changelog

Signed-off-by: matheusjuvelino <[email protected]>

* fixed use-owner-rferences-in-backup flag for use-owner-references-in-backup

Signed-off-by: matheusjuvelino <[email protected]>
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 flag to the schedule cmd to configure the useOwnerReferencesInBackup option
3 participants