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

Expose DBPurge Age and Schedule #436

Conversation

fmount
Copy link
Contributor

@fmount fmount commented Feb 4, 2024

This patch updates the current glance CR to expose both dbPurgeAge and dbPurgeSchedule as customizable parameters. They were previously hardcoded as constants in the code, and it makes sense removing that part as long as the human operator has the ability to customize them. This also aligns the glance-operator with the work already done in both Manila and Cinder.

@openshift-ci openshift-ci bot requested review from dprince and olliewalsh February 4, 2024 23:15
@fmount fmount requested review from abays and konan-abhi and removed request for dprince and olliewalsh February 4, 2024 23:15
@openshift-ci openshift-ci bot added the approved label Feb 4, 2024
@fmount fmount mentioned this pull request Feb 4, 2024
4 tasks
@fmount
Copy link
Contributor Author

fmount commented Feb 5, 2024

@ASBishop FYI: I have a WIP patch that will be rebased on top of this to simplify the cronJob handling in the operator for image-cache, but I wanted to share this change w/ you as it's supposed to align Glance and the API/interface with what we've done in cinder/manila.

@fmount fmount requested a review from ASBishop February 5, 2024 12:25
api/v1beta1/glance_types.go Outdated Show resolved Hide resolved
This patch updates the current glance CR to expose both dbPurgeAge
and dbPurgeSchedule as customizable parameters. They were previously
hardcoded as constants in the code, and it makes sense removing that
part as long as the human operator has the ability to customize them.
This also aligns the glance-operator with the work already done in
both Manila and Cinder.

Signed-off-by: Francesco Pantano <[email protected]>
@fmount fmount force-pushed the expose_cronjob_params branch from 85e98da to 8b44f08 Compare February 5, 2024 14:26
@fmount
Copy link
Contributor Author

fmount commented Feb 5, 2024

/test functional

Copy link
Contributor

@abays abays left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Feb 5, 2024
Copy link
Contributor

openshift-ci bot commented Feb 5, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abays, fmount

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 7c87bfa into openstack-k8s-operators:main Feb 5, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants