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: Add feature gates flag #368

Merged
merged 3 commits into from
May 1, 2024
Merged

feat: Add feature gates flag #368

merged 3 commits into from
May 1, 2024

Conversation

helayoty
Copy link
Collaborator

@helayoty helayoty commented Apr 30, 2024

Reason for Change:

  • Add feature-gates flag to the Kaito controller.
  • Support the karpenter feature gate with default value, false.
  • Enable setting the feature gate flag via helm chart.

In addition to some chores:

  • Exclude the auto generated and mock files from unit test coverage.
  • Upgrade k8s version using in the tests to the current supported version.

Requirements

  • added unit tests and e2e tests (if applicable).

Issue Fixed:

Notes for Reviewers:

@codecov-commenter
Copy link

codecov-commenter commented May 1, 2024

Codecov Report

Attention: Patch coverage is 85.00000% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 64.64%. Comparing base (fde6369) to head (dfe8908).
Report is 17 commits behind head on main.

Files Patch % Lines
pkg/controllers/workspace_controller.go 0.00% 2 Missing ⚠️
pkg/utils/common.go 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #368      +/-   ##
==========================================
+ Coverage   62.89%   64.64%   +1.75%     
==========================================
  Files          14       29      +15     
  Lines        1307     2130     +823     
==========================================
+ Hits          822     1377     +555     
- Misses        447      686     +239     
- Partials       38       67      +29     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
@helayoty helayoty merged commit a4bcec4 into main May 1, 2024
5 checks passed
@helayoty helayoty deleted the helayoty/feature-gate branch May 1, 2024 23:06
smritidahal653 pushed a commit to smritidahal653/kaito that referenced this pull request Jun 7, 2024
**Reason for Change**:
- Add `feature-gates` flag to the Kaito controller.
- Support the `karpenter` feature gate with default value, `false`.
- Enable setting the feature gate flag via helm chart.

In addition to some chores:
- Exclude the auto generated and mock files from unit test coverage.
- Upgrade k8s version using in the tests to the current supported
version.

**Requirements**

- [x] added unit tests and e2e tests (if applicable).

**Issue Fixed**:
<!-- If this PR fixes GitHub issue 4321, add "Fixes #4321" to the next
line. -->

**Notes for Reviewers**:

---------

Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
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.

3 participants