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

feat: Maintenance Windows resolver module #2155

Conversation

Tomasz-Smelcerz-SAP
Copy link
Member

@Tomasz-Smelcerz-SAP Tomasz-Smelcerz-SAP commented Dec 30, 2024

Description

Adding a small sub-module for sharing maintenance windows related code between projects
The following was added to the original code:

  • Used the same linting configuration that is used in the Lifecycle-Manager, adjusted the code as necessary
  • Add a small initial README.md

Fixes: #2114

@Tomasz-Smelcerz-SAP Tomasz-Smelcerz-SAP requested a review from a team as a code owner December 30, 2024 08:07
@kyma-bot kyma-bot added the cla: yes Indicates the PR's author has signed the CLA. label Dec 30, 2024
@Tomasz-Smelcerz-SAP Tomasz-Smelcerz-SAP added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. and removed cla: yes Indicates the PR's author has signed the CLA. labels Dec 30, 2024
@kyma-bot kyma-bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. cla: yes Indicates the PR's author has signed the CLA. and removed do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Dec 30, 2024
@Tomasz-Smelcerz-SAP Tomasz-Smelcerz-SAP force-pushed the feat/maintenance-window-shared-code branch from 6aaaec5 to 326eb78 Compare January 2, 2025 06:58
Copy link
Contributor

@c-pius c-pius left a comment

Choose a reason for hiding this comment

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

As this can be imported as a standalone module, I would suggest that we also add a maintenancewindows/README.md explaining the background of this. WDYT?

maintenancewindows/resolver/resolver.go Outdated Show resolved Hide resolved
@Tomasz-Smelcerz-SAP Tomasz-Smelcerz-SAP force-pushed the feat/maintenance-window-shared-code branch from af91ca6 to be2d412 Compare January 2, 2025 13:11
@Tomasz-Smelcerz-SAP Tomasz-Smelcerz-SAP requested a review from a team as a code owner January 3, 2025 08:02
c-pius
c-pius previously approved these changes Jan 3, 2025
@kyma-bot kyma-bot added the lgtm Looks good to me! label Jan 3, 2025
@Tomasz-Smelcerz-SAP Tomasz-Smelcerz-SAP enabled auto-merge (squash) January 3, 2025 10:56
maintenancewindows/README.md Outdated Show resolved Hide resolved
maintenancewindows/README.md Outdated Show resolved Hide resolved
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>
@kyma-bot kyma-bot removed the lgtm Looks good to me! label Jan 3, 2025
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>
@kyma-bot kyma-bot added the lgtm Looks good to me! label Jan 3, 2025
@Tomasz-Smelcerz-SAP Tomasz-Smelcerz-SAP merged commit 7ed9a31 into kyma-project:main Jan 3, 2025
66 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Indicates the PR's author has signed the CLA. lgtm Looks good to me! size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Maintenance Windows] Create go module for MaintenanceWindowPolicy resolver
4 participants