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 Gateway analysers #764

Merged
merged 10 commits into from
Nov 24, 2023
Merged

feat: add Gateway analysers #764

merged 10 commits into from
Nov 24, 2023

Conversation

arbreezy
Copy link
Member

@arbreezy arbreezy commented Nov 19, 2023

Closes #

📑 Description

PR adds three analyzers of the same API group gateway.networking.k8s.io
I introduced only the analyzers which have v1 CRDs (GA) and I also didn't want to add more analyzers in the same PR

We also add a new k8s client which makes it easy to work with CRDs and is the controller runtime's clientset,
testing also is more readable than using the dynamic client.

  1. GatewayClass
  2. Gateway
  3. HTTPRoute

Note: At the moment we don't check if CRDs are installed in the cluster but could be an addition as a Warning message ?
Note1: Analyzers are disabled by default

✅ Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

ℹ Additional Information

Tests are implemented per individual error case just to make it clear what we are testing about rather than having a single function with table test cases

arbreezy and others added 5 commits November 19, 2023 16:22
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
@arbreezy arbreezy changed the title feat: add GatewayClass analyser feat: add Gateway analysers Nov 22, 2023
arbreezy and others added 5 commits November 22, 2023 15:49
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io>
@arbreezy arbreezy marked this pull request as ready for review November 23, 2023 23:58
@arbreezy arbreezy requested review from a team as code owners November 23, 2023 23:58
@arbreezy arbreezy merged commit ec08cac into k8sgpt-ai:main Nov 24, 2023
8 checks passed
@arbreezy arbreezy deleted the feat/gw-api branch November 24, 2023 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants