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: Update TestTriggers - Support watching Custom Resource using dynamic informers #163

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

cedricmckinnie
Copy link

Pull request description

kubeshop/testkube#3712 (comment)

Testkube API changes: kubeshop/testkube#4161

Checklist (choose whats happened)

  • breaking change! (describe)
  • tested locally
  • tested on cluster
  • added new dependencies
  • updated the docs
  • added a test

Breaking changes

Changes

  • Add CustomResource GVR property to TestTrigger CRD to build dynamic informers

Fixes

@cedricmckinnie cedricmckinnie changed the title Update TestTriggers - Support watching Custom Resource using dynamic informers Feat: Update TestTriggers - Support watching Custom Resource using dynamic informers Jul 11, 2023
@cedricmckinnie
Copy link
Author

Some changes in here I don't recognize which I may have accidentally included when syncing with develop branch. Could someone kindly assist with reconciling? Thanks!

@cedricmckinnie cedricmckinnie changed the title Feat: Update TestTriggers - Support watching Custom Resource using dynamic informers feat: Update TestTriggers - Support watching Custom Resource using dynamic informers Jul 11, 2023
@vsukhin
Copy link
Contributor

vsukhin commented Jul 11, 2023

thank you @cedricmckinnie will reply you tomorrow

Copy link
Contributor

@vsukhin vsukhin left a comment

Choose a reason for hiding this comment

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

Thank you, @cedricmckinnie for your efforts. Need to mention a few things:

  1. Please commit only the changes you did. Kubebuilder generates some stuff, we don't need for CRD, but need for the models
  2. You will need to copy testtrigger crd changes to helm-chart repo
  3. Add comments as we did for new fields, they will be passed to CRD
  4. Technically, you will need to define CustomResource in testkube openapi spec first and generate model based on it. Then copy it to operator, unfortunately, operaotr is not a part of monorepo, so some manual work required
    Some small details)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants