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: missing errors in custom analysis #1195

Merged
merged 2 commits into from
Jul 15, 2024
Merged

Conversation

AlexsJones
Copy link
Member

Closes #

πŸ“‘ Description

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

@AlexsJones AlexsJones requested review from a team as code owners July 15, 2024 09:25
@AlexsJones AlexsJones changed the title fix: Missing errors captured in custom analysis feat: Missing errors captured in custom analysis Jul 15, 2024
@AlexsJones AlexsJones changed the title feat: Missing errors captured in custom analysis feat: missing errors in custom analysis Jul 15, 2024
@AlexsJones AlexsJones force-pushed the fix/custom-analysis branch from 9312a06 to d3df919 Compare July 15, 2024 09:31
@AlexsJones AlexsJones merged commit b6dd2a1 into main Jul 15, 2024
10 checks passed
@AlexsJones AlexsJones deleted the fix/custom-analysis branch July 15, 2024 11:02
ronaldpetty pushed a commit to ronaldpetty/k8sgpt that referenced this pull request Jul 17, 2024
AlexsJones added a commit that referenced this pull request Jul 18, 2024
* refresh fork

Signed-off-by: Ronald Petty <[email protected]>

* let out, wasn't sure it was needed, but seems it might be in CI pipeline

Signed-off-by: Ronald Petty <[email protected]>

* chore(deps): update docker/setup-buildx-action digest to 4fd8129 (#1173)

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]>

* fix(deps): update module buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc-ecosystem/gateway/v2 to v2.20.0-20240406062209-1cc152efbf5c.1 (#1147)

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(deps): update anchore/sbom-action action to v0.16.0 (#1146)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Jones <[email protected]>
Signed-off-by: Ronald Petty <[email protected]>

* fix(deps): update module google.golang.org/grpc to v1.64.1 [security] (#1178)

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]>

* fix(deps): update module github.com/mittwald/go-helm-client to v0.12.10 (#1177)

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]>

* feat: add custom http headers to openai related api backends (#1174)

* feat: add custom http headers to openai related api backends

Signed-off-by: Aris Boutselis <[email protected]>

* ci: add custom headers test

Signed-off-by: Aris Boutselis <[email protected]>

* add error handling

Signed-off-by: Aris Boutselis <[email protected]>

* chore(deps): update docker/setup-buildx-action digest to 4fd8129 (#1173)

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: Aris Boutselis <[email protected]>

* fix(deps): update module buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc-ecosystem/gateway/v2 to v2.20.0-20240406062209-1cc152efbf5c.1 (#1147)

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: Aris Boutselis <[email protected]>

* chore(deps): update anchore/sbom-action action to v0.16.0 (#1146)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Jones <[email protected]>
Signed-off-by: Aris Boutselis <[email protected]>

* Update README.md

Signed-off-by: Aris Boutselis <[email protected]>

---------

Signed-off-by: Aris Boutselis <[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>
Co-authored-by: Alex Jones <[email protected]>
Signed-off-by: Ronald Petty <[email protected]>

* chore(main): release 0.3.38 (#1165)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <[email protected]>

* chore(deps): update anchore/sbom-action action to v0.16.1 (#1179)

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(deps): update actions/setup-go digest to 0a12ed9 (#1182)

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]>

* ci: release to krew index as kubectl-gpt (#1100)

Signed-off-by: Miguel Varela Ramos <[email protected]>
Co-authored-by: Alex Jones <[email protected]>
Signed-off-by: Ronald Petty <[email protected]>

* fix(deps): update k8s.io/utils digest to 18e509b (#1183)

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]>

* fix(deps): update module github.com/prometheus/prometheus to v0.53.1 (#1035)

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]>

* fix(deps): update module github.com/ibm/watsonx-go to v1.0.1 (#1187)

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]>

* feat: skip k3s node type EtcdIsVoter (#1167)

Signed-off-by: Kay Yan <[email protected]>
Co-authored-by: Aris Boutselis <[email protected]>
Signed-off-by: Ronald Petty <[email protected]>

* feat: fix the custom-analysis printing (#1195)

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

* chore(deps): pin goreleaser/goreleaser-action action to 286f3b1 (#1171)

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]>

* fix(deps): update module buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc/go to v1.4.0-20240715142657-3785f0a44aae.2 (#1196)

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(deps): update actions/upload-artifact digest to 0b2256b (#1175)

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]>

* Update pkg/integration/kyverno/kyverno.go

lgtm

Co-authored-by: Alex Jones <[email protected]>
Signed-off-by: Ronald Petty <[email protected]>
Signed-off-by: Ronald Petty <[email protected]>

* remove unused function

Signed-off-by: Ronald Petty <[email protected]>

---------

Signed-off-by: Ronald Petty <[email protected]>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <[email protected]>
Signed-off-by: Miguel Varela Ramos <[email protected]>
Signed-off-by: Kay Yan <[email protected]>
Signed-off-by: Alex Jones <[email protected]>
Signed-off-by: Ronald Petty <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Jones <[email protected]>
Co-authored-by: Aris Boutselis <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Miguel Varela Ramos <[email protected]>
Co-authored-by: Kay Yan <[email protected]>
Co-authored-by: Alex Jones <[email protected]>
JuHyung-Son pushed a commit that referenced this pull request Jul 18, 2024
Signed-off-by: Alex Jones <[email protected]>
Signed-off-by: JuHyung-Son <[email protected]>
AlexsJones added a commit that referenced this pull request Jul 18, 2024
* feat: fix the custom-analysis printing (#1195)

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

* feat: add label selector

Signed-off-by: JuHyung-Son <[email protected]>

* feat: add label selector on analyzers

Signed-off-by: JuHyung-Son <[email protected]>

* chore(deps): pin goreleaser/goreleaser-action action to 286f3b1 (#1171)

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: JuHyung-Son <[email protected]>

* fix(deps): update module buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc/go to v1.4.0-20240715142657-3785f0a44aae.2 (#1196)

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: JuHyung-Son <[email protected]>

* chore(deps): update actions/upload-artifact digest to 0b2256b (#1175)

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: JuHyung-Son <[email protected]>

* chore: update proto pkg version

Signed-off-by: JuHyung-Son <[email protected]>

* chore: fix typo

Signed-off-by: JuHyung-Son <[email protected]>

* feat: add label string to LabelSelector util func

Signed-off-by: JuHyung-Son <[email protected]>

* feat: add test using 2 label selector

Signed-off-by: JuHyung-Son <[email protected]>

---------

Signed-off-by: Alex Jones <[email protected]>
Signed-off-by: JuHyung-Son <[email protected]>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: JuHyung Son <[email protected]>
Co-authored-by: Alex Jones <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
AlexsJones added a commit that referenced this pull request Oct 24, 2024
Signed-off-by: Alex Jones <[email protected]>
Signed-off-by: AlexsJones <[email protected]>
AlexsJones added a commit that referenced this pull request Oct 24, 2024
* refresh fork

Signed-off-by: Ronald Petty <[email protected]>

* let out, wasn't sure it was needed, but seems it might be in CI pipeline

Signed-off-by: Ronald Petty <[email protected]>

* chore(deps): update docker/setup-buildx-action digest to 4fd8129 (#1173)

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]>

* fix(deps): update module buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc-ecosystem/gateway/v2 to v2.20.0-20240406062209-1cc152efbf5c.1 (#1147)

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(deps): update anchore/sbom-action action to v0.16.0 (#1146)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Jones <[email protected]>
Signed-off-by: Ronald Petty <[email protected]>

* fix(deps): update module google.golang.org/grpc to v1.64.1 [security] (#1178)

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]>

* fix(deps): update module github.com/mittwald/go-helm-client to v0.12.10 (#1177)

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]>

* feat: add custom http headers to openai related api backends (#1174)

* feat: add custom http headers to openai related api backends

Signed-off-by: Aris Boutselis <[email protected]>

* ci: add custom headers test

Signed-off-by: Aris Boutselis <[email protected]>

* add error handling

Signed-off-by: Aris Boutselis <[email protected]>

* chore(deps): update docker/setup-buildx-action digest to 4fd8129 (#1173)

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: Aris Boutselis <[email protected]>

* fix(deps): update module buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc-ecosystem/gateway/v2 to v2.20.0-20240406062209-1cc152efbf5c.1 (#1147)

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: Aris Boutselis <[email protected]>

* chore(deps): update anchore/sbom-action action to v0.16.0 (#1146)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Jones <[email protected]>
Signed-off-by: Aris Boutselis <[email protected]>

* Update README.md

Signed-off-by: Aris Boutselis <[email protected]>

---------

Signed-off-by: Aris Boutselis <[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>
Co-authored-by: Alex Jones <[email protected]>
Signed-off-by: Ronald Petty <[email protected]>

* chore(main): release 0.3.38 (#1165)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <[email protected]>

* chore(deps): update anchore/sbom-action action to v0.16.1 (#1179)

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(deps): update actions/setup-go digest to 0a12ed9 (#1182)

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]>

* ci: release to krew index as kubectl-gpt (#1100)

Signed-off-by: Miguel Varela Ramos <[email protected]>
Co-authored-by: Alex Jones <[email protected]>
Signed-off-by: Ronald Petty <[email protected]>

* fix(deps): update k8s.io/utils digest to 18e509b (#1183)

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]>

* fix(deps): update module github.com/prometheus/prometheus to v0.53.1 (#1035)

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]>

* fix(deps): update module github.com/ibm/watsonx-go to v1.0.1 (#1187)

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]>

* feat: skip k3s node type EtcdIsVoter (#1167)

Signed-off-by: Kay Yan <[email protected]>
Co-authored-by: Aris Boutselis <[email protected]>
Signed-off-by: Ronald Petty <[email protected]>

* feat: fix the custom-analysis printing (#1195)

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

* chore(deps): pin goreleaser/goreleaser-action action to 286f3b1 (#1171)

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]>

* fix(deps): update module buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc/go to v1.4.0-20240715142657-3785f0a44aae.2 (#1196)

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(deps): update actions/upload-artifact digest to 0b2256b (#1175)

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]>

* Update pkg/integration/kyverno/kyverno.go

lgtm

Co-authored-by: Alex Jones <[email protected]>
Signed-off-by: Ronald Petty <[email protected]>
Signed-off-by: Ronald Petty <[email protected]>

* remove unused function

Signed-off-by: Ronald Petty <[email protected]>

---------

Signed-off-by: Ronald Petty <[email protected]>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <[email protected]>
Signed-off-by: Miguel Varela Ramos <[email protected]>
Signed-off-by: Kay Yan <[email protected]>
Signed-off-by: Alex Jones <[email protected]>
Signed-off-by: Ronald Petty <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Jones <[email protected]>
Co-authored-by: Aris Boutselis <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Miguel Varela Ramos <[email protected]>
Co-authored-by: Kay Yan <[email protected]>
Co-authored-by: Alex Jones <[email protected]>
Signed-off-by: AlexsJones <[email protected]>
AlexsJones added a commit that referenced this pull request Oct 24, 2024
* feat: fix the custom-analysis printing (#1195)

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

* feat: add label selector

Signed-off-by: JuHyung-Son <[email protected]>

* feat: add label selector on analyzers

Signed-off-by: JuHyung-Son <[email protected]>

* chore(deps): pin goreleaser/goreleaser-action action to 286f3b1 (#1171)

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: JuHyung-Son <[email protected]>

* fix(deps): update module buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc/go to v1.4.0-20240715142657-3785f0a44aae.2 (#1196)

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: JuHyung-Son <[email protected]>

* chore(deps): update actions/upload-artifact digest to 0b2256b (#1175)

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: JuHyung-Son <[email protected]>

* chore: update proto pkg version

Signed-off-by: JuHyung-Son <[email protected]>

* chore: fix typo

Signed-off-by: JuHyung-Son <[email protected]>

* feat: add label string to LabelSelector util func

Signed-off-by: JuHyung-Son <[email protected]>

* feat: add test using 2 label selector

Signed-off-by: JuHyung-Son <[email protected]>

---------

Signed-off-by: Alex Jones <[email protected]>
Signed-off-by: JuHyung-Son <[email protected]>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: JuHyung Son <[email protected]>
Co-authored-by: Alex Jones <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: AlexsJones <[email protected]>
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.

2 participants