Skip to content

Conversation

@onematchfox
Copy link
Contributor

Noticed yesterday that the controllers manifests/CRDs were out of date - although it seems like these have since been updated (at least somewhat) by #1111. This PR regenerates them once again and also adds a CI check to try prevent them from drifting.

Side Note: I've noticed that the category kagent seems to be being constantly added/removed - not sure why this is happening but we should probably look into that.

Signed-off-by: Brian Fox <878612+onematchfox@users.noreply.github.com>
Signed-off-by: Brian Fox <878612+onematchfox@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR synchronizes controller manifests/CRDs that had drifted out of date and introduces a new CI check to prevent future drift. The changes regenerate the ModelConfig CRD to add the kagent category classification and a new TLS validation rule, while the CI workflow ensures these generated files stay in sync with their source code.

Key changes:

  • Adds manifests-check CI job that validates controller manifests are up-to-date by running make controller-manifests and checking for uncommitted changes
  • Regenerates ModelConfig CRD files to add kagent category and an additional caCertSecretKey validation rule

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/ci.yaml Adds new manifests-check job to prevent manifest drift by validating generated files are committed
go/config/crd/bases/kagent.dev_modelconfigs.yaml Updates ModelConfig CRD with kagent category and additional TLS validation rule
helm/kagent-crds/templates/kagent.dev_modelconfigs.yaml Updates Helm template with identical changes to maintain consistency with base CRD

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@onematchfox
Copy link
Contributor Author

onematchfox commented Nov 25, 2025

Side Note: I've noticed that the category kagent seems to be being constantly added/removed - not sure why this is happening but we should probably look into that.

Seems like my newly added CI check is failing because when run on CI, the categories are being removed 🤔

Signed-off-by: Brian Fox <878612+onematchfox@users.noreply.github.com>
@onematchfox
Copy link
Contributor Author

Seems like my newly added CI check is failing because when run on CI, the categories are being removed 🤔

Fixed in c75ec38

@EItanya EItanya merged commit 9438c9c into kagent-dev:main Nov 25, 2025
17 checks passed
@onematchfox onematchfox deleted the controller-manifests branch December 2, 2025 08:01
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