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

rte: metrics: merge manifests into existing manifests handling #1130

Merged
merged 4 commits into from
Jan 2, 2025

Conversation

ffromani
Copy link
Member

instead of having very custom processing of RTE metrics manifests, generalize the current RTE manifests handling and merge the metrics manifests in this flow. Benefits are more common code and less special cases. No expected changes in the operator behavior.

Introduce higher-level objectstate/rte Manifests object
to enable future integration between deployer manifests
and operator-specific RTE metrics manifests.

This change only create room for the future integration
adding a higher level object. No changes in behavior
besides required API changes.

Signed-off-by: Francesco Romani <[email protected]>
Incorporate the operator-specific metrics manifests
in the newly introduced higher level objectstate Manifests.
This enables us to remove all the custom code.

Signed-off-by: Francesco Romani <[email protected]>
add coding shortcuts to remove the repetitive code.
No intended changes in behavior.

Signed-off-by: Francesco Romani <[email protected]>
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 30, 2024
@ffromani
Copy link
Member Author

/cc @rbaturov

@openshift-ci openshift-ci bot requested a review from rbaturov December 30, 2024 08:36
make sure to render the Service manifests in render mode.

Signed-off-by: Francesco Romani <[email protected]>
@rbaturov
Copy link
Contributor

/cc @rbaturov

I really like these changes.

@Tal-or
Copy link
Collaborator

Tal-or commented Jan 2, 2025

/approve
/lgtm

Thanks!

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 2, 2025
Copy link
Contributor

openshift-ci bot commented Jan 2, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ffromani, Tal-or

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 7d57ff8 into main Jan 2, 2025
15 checks passed
@ffromani ffromani deleted the streamline-metrics branch January 2, 2025 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants