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 direct cluster config support #1207

Merged
merged 15 commits into from
May 13, 2024

Conversation

eddycharly
Copy link
Member

Explanation

Add direct cluster config support.

Related issue

Fixes #1206

Copy link

codecov bot commented Apr 24, 2024

Codecov Report

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

Project coverage is 76.00%. Comparing base (c332839) to head (dcbf35c).

❗ Current head dcbf35c differs from pull request most recent head 834a710. Consider uploading reports for the commit 834a710 to get more accurate results

Files Patch % Lines
pkg/runner/processors/step.go 50.58% 75 Missing and 10 partials ⚠️
pkg/runner/processors/test.go 54.54% 8 Missing and 2 partials ⚠️
pkg/runner/processors/tests.go 50.00% 6 Missing and 1 partial ⚠️
pkg/runner/processors/cleaner.go 0.00% 2 Missing and 1 partial ⚠️
pkg/runner/run.go 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1207      +/-   ##
==========================================
- Coverage   76.51%   76.00%   -0.51%     
==========================================
  Files         133      132       -1     
  Lines        4683     4681       -2     
==========================================
- Hits         3583     3558      -25     
- Misses        833      847      +14     
- Partials      267      276       +9     

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

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
eddycharly added 2 commits May 4, 2024 11:14
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
@eddycharly eddycharly added this to the v0.2.1 milestone May 12, 2024
@eddycharly eddycharly force-pushed the cluster-config branch 9 times, most recently from 6edc724 to 802207d Compare May 13, 2024 14:07
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
@eddycharly
Copy link
Member Author

/cherry-pick release-0.2

@eddycharly eddycharly marked this pull request as ready for review May 13, 2024 19:39
@eddycharly eddycharly requested a review from a team as a code owner May 13, 2024 19:39
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
@eddycharly eddycharly merged commit 9370918 into kyverno:main May 13, 2024
11 of 12 checks passed
@eddycharly eddycharly deleted the cluster-config branch May 13, 2024 22:22
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request May 13, 2024
* feat: add direct cluster config support

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* refactor: clusters bank

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* add note about cleanup changes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* cleanup

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* dummy

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
eddycharly added a commit that referenced this pull request May 13, 2024
* feat: add direct cluster config support



* refactor: clusters bank



* add note about cleanup changes



* cleanup



* tests



* tests



* tests



* tests



* tests



* dummy



* tests



* tests



---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Dynamically load clusters in the contexts they are used
1 participant