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

default orphan delete option for read only update strategy. #189

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

morvencao
Copy link
Contributor

@morvencao
Copy link
Contributor Author

/assign @clyang82

@clyang82
Copy link
Contributor

/ok-to-test

}
}

if len(deleteOption) != 0 {
Copy link
Contributor

Choose a reason for hiding this comment

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

that means even if the update_strategy is readonly, the delete_option still can be configured. the requirement is if the update_strategy is readonly, the delete_option is orphan. and cannot be configured.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated this to force deletio option to Orphan when update strategy is ReadOnly.

Signed-off-by: morvencao <lcao@redhat.com>
Signed-off-by: morvencao <lcao@redhat.com>
Copy link
Contributor

@clyang82 clyang82 left a comment

Choose a reason for hiding this comment

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

LGTM

@clyang82 clyang82 merged commit 2ce9461 into openshift-online:main Sep 18, 2024
7 checks passed
@morvencao morvencao deleted the br_delete_option branch September 18, 2024 02:27
machi1990 added a commit to Azure/ARO-HCP that referenced this pull request Dec 12, 2024
The following changes are included in the bump;

- ensure spec is returned in the status change event when a maestro bundle is being deleted (openshift-online/maestro#225)
- support entra auth for postgres (openshift-online/maestro#221)
- fix maestro agent resync unstable (openshift-online/maestro#220)
- register cloud events metrics(openshift-online/maestro#217)
- avoid nil point in go-sdk (openshift-online/maestro#212)
- update mqtt lib to resolve mqtt pinger problem (openshift-online/maestro#200)
- support print date in log (openshift-online/maestro#195)
- avoid race conditions on maestro-agent (openshift-online/maestro#196)
- use  orphan delete option as default option for read only update strategy (openshift-online/maestro#189)
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.

2 participants