Skip to content

Release controller boilerplate - #430

Merged
goelozev merged 1 commit into
pre-release-5.1.0from
release-controller-boilerplate
Dec 19, 2025
Merged

Release controller boilerplate#430
goelozev merged 1 commit into
pre-release-5.1.0from
release-controller-boilerplate

Conversation

@goelozev

@goelozev goelozev commented Dec 19, 2025

Copy link
Copy Markdown
Member

Adding the release controller boilerplate + test_suite.

@goelozev
goelozev requested a review from a team December 19, 2025 10:29
Comment on lines 78 to 87
manager.GetWebhookServer().Register("/validate-releases", &admission.Webhook{
Handler: releasewebhook.NewReleaseValidateWebhook(logger, manager.GetScheme()),
})

if *enableReleaseUniquenessWebhooks {
// Webhook configuration
manager.GetWebhookServer().Register("/mutate-releases", &admission.Webhook{
Handler: releasewebhook.NewReleaseNamerWebhook(logger, manager.GetScheme()),
})
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

When I run the controller locally, I would comment out the webhooks config.

@goelozev
goelozev marked this pull request as ready for review December 19, 2025 10:31

@0x0013 0x0013 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good! Thanks for extracting this so quickly!

@goelozev
goelozev merged commit 6693e0a into pre-release-5.1.0 Dec 19, 2025
7 of 9 checks passed
@goelozev
goelozev deleted the release-controller-boilerplate branch December 19, 2025 10:53
@goelozev goelozev mentioned this pull request Jan 19, 2026
0x0013 pushed a commit that referenced this pull request Jan 29, 2026
0x0013 pushed a commit that referenced this pull request Mar 13, 2026
0x0013 pushed a commit that referenced this pull request Mar 16, 2026
goelozev added a commit that referenced this pull request Apr 15, 2026
goelozev added a commit that referenced this pull request Apr 15, 2026
goelozev added a commit that referenced this pull request Apr 15, 2026
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