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: kyverno operator support #485

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

ronaldpetty
Copy link

@ronaldpetty ronaldpetty commented Jul 29, 2024

πŸ“‘ Description

Initial attempt to integrate Kyverno with K8sGPT Operator

βœ… 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

Needs peer review and additional fixes (especially around rpcs).

* rpc is using ronaldpetty and not k8sgpt-ai
* unclear best way to deal with trivy/kyverno together

Signed-off-by: Ronald Petty <[email protected]>
@ronaldpetty ronaldpetty requested review from a team as code owners July 29, 2024 03:42
go.mod Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
renovate bot and others added 13 commits August 17, 2024 17:19
…-ai#484)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…t-ai#476)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <[email protected]>
* chore: updated the spec

Signed-off-by: Alex Jones <[email protected]>

* feat: add custom analyzers into the k8sgpt config

Signed-off-by: Alex Jones <[email protected]>

* feat: add custom analyzers into the k8sgpt config

Signed-off-by: Alex Jones <[email protected]>

* feat: add custom analyzers into the k8sgpt config

Signed-off-by: Alex Jones <[email protected]>

* chore: fixed the reconcile not picking up custom analyzers

Signed-off-by: Alex Jones <[email protected]>

---------

Signed-off-by: Alex Jones <[email protected]>
Signed-off-by: AlexsJones <[email protected]>
Signed-off-by: Ronald Petty <[email protected]>
…gpt-ai#486)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <[email protected]>
…-ai#488)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <[email protected]>
…my deployment, instead using k8sgpt locally (k8sgpt-ai#495)

Signed-off-by: AlexsJones <[email protected]>
Signed-off-by: Ronald Petty <[email protected]>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <[email protected]>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <[email protected]>
Signed-off-by: AlexsJones <[email protected]>
Signed-off-by: Ronald Petty <[email protected]>
* feat: rework controllers logic & add some simple tests

Signed-off-by: Matthis Holleville <[email protected]>

* feat: enhance deployment readiness check and version upgrade logic

Improved the logic for checking deployment readiness and handling version upgrades in the Kubernetes controller. This includes a more efficient way of determining if a deployment has ready replicas and streamlining the process for updating the deployment image when a new version is specified. This change aims to reduce unnecessary updates and checks, improving the overall efficiency and reliability of the deployment process.

Signed-off-by: Matthis Holleville <[email protected]>

* fix: improve log message formatting in analysis step cleanup

Signed-off-by: Matthis Holleville <[email protected]>

* ci: add make as a build tool for testing

Signed-off-by: Matthis Holleville <[email protected]>

---------

Signed-off-by: Matthis Holleville <[email protected]>
Signed-off-by: Ronald Petty <[email protected]>
@ronaldpetty ronaldpetty changed the title feat: Kyverno operator support feat: kyverno operator support Aug 18, 2024
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.

4 participants