Naveen Thangaraj
b7a14f98cb
feat: error from events for STS analyzer ( #1256 )
...
* error from events for sts analyzer
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com >
* Signedoff this commit
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com >
---------
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:30:34 +01:00
Guangya Liu
8e4f56ae28
fix: rename watsonxai to ibmwatsonxai ( #1234 )
...
Signed-off-by: Guangya Liu <gyliu@ibm.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:30:34 +01:00
Alex Jones
1dea6dc749
feat: adding a query mode for the schednex scheduler ( #1257 )
...
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:30:34 +01:00
awsyshah
91fafeb1f2
feat: added support for A21 and Amazon Titan models via bedrock api ( #1101 )
...
* feat: added support for A21 and Amazon Titan models via bedrock api
Signed-off-by: Yomesh Shah <yomesh@gmail.com >
* fix: response type for diffrent models and use of constant for top_P
Signed-off-by: Yomesh Shah <yomesh@gmail.com >
* fix: constant for top_P as int vs string
Signed-off-by: Yomesh Shah <yomesh@gmail.com >
* feat: moved topP and maxTokens to config rather than being constants in the code
Signed-off-by: Yomesh Shah <yomesh@gmail.com >
---------
Signed-off-by: Yomesh Shah <yomesh@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:30:34 +01:00
Aris Boutselis
fc2ea26f2e
fix: typo ( #1244 )
...
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:30:34 +01:00
michael12312
7110931ce5
fix: issue-1168, remove duplicate CVE ( #1230 )
...
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:30:34 +01:00
Guangya Liu
2fa925bded
fix: enabled auth add support watsonx backend ( #1190 )
...
Signed-off-by: Guangya Liu <gyliu@ibm.com >
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Matthis <matthish29@gmail.com >
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:30:34 +01:00
Alex Jones
803806e747
feat: refactoring to the new schema ( #1219 )
...
* feat: refactoring to the new schema
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* chore: updated readme with grpc commands
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* chore: updated deps
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
---------
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
Co-authored-by: Matthis <matthish29@gmail.com >
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:30:34 +01:00
Xuetao Song
7919d35880
feat: add event failure handling in service analyzer ( #1132 )
...
Signed-off-by: magicsong <songxuetao@bytedance.com >
Co-authored-by: magicsong <songxuetao@bytedance.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:30:34 +01:00
Matthis
f50440fb9f
feat: add custom-analyzer cmd ( #1207 )
...
* feat: add custom analyzer management capability
Introduced the ability to manage custom analyzers in the K8sGPT application, enabling users to add, deploy, and configure custom analyzers from various sources. This enhancement supports extending the application's analytical capabilities by integrating external analysis tools, thus offering more flexibility and customization options to meet specific user needs.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: enhance custom analyzer management with removal functionality
Introduced the ability to remove custom analyzers, streamlining the management process and ensuring flexibility in custom analyzer configuration. This enhancement addresses the need for dynamic customization and maintenance of analyzer setups, facilitating easier updates and modifications to the analysis environment.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: add list command to customAnalyzer for displaying configured analyzers
Implemented a new list command within the customAnalyzer module to enable users to view all configured custom analyzers. This enhancement aims to improve usability by providing a straightforward method for users to inspect their custom analyzer configurations directly from the command line.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: add support for listing, adding, and removing custom analyzers
This update introduces commands to manage custom analyzers in the k8sgpt tool, enhancing flexibility and control over analyzer configurations without the need for direct installation or docker dependency.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: support private docker image authentication for custom analyzers
Added authentication support for pulling private Docker images when adding custom analyzers, enhancing security and access control.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: remove Docker custom analyzer installation
Removed the installation and deployment functionality for custom analyzers, streamlining the process of adding analyzers. This change focuses on simplifying the configuration by eliminating the need for specifying installation types, package URLs, and authentication details for Docker images. The goal is to enhance user experience by making the addition of custom analyzers more straightforward and less error-prone.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* fix: remove unused packageUrl
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: update add command description to reflect broader functionality
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: Add name validation for custom analyzer creation
To ensure the integrity and consistency of analyzer names, we introduced a validation step that checks the format of the name against a predefined regex pattern. This change aims to prevent the creation of analyzers with invalid names, enhancing the system's reliability and usability.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: refactor customAnalyzer package for consistent naming
Refactored the customAnalyzer package and its references to use consistent snake_case naming for improved code readability and alignment with Go naming conventions.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
---------
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:30:34 +01:00
R0CKSTAR
bdb0f2c26b
fix: set logger for controller-runtime ( #1211 )
...
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com >
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:30:34 +01:00
AlexsJones
278473bd9d
chore: merge
...
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:30:30 +01:00
Yanwei Li
7e3d452cdb
fix: add default maxToken value of watsonxai backend ( #1209 )
...
Signed-off-by: yanweili <yanweili@ibm.com >
Co-authored-by: yanweili <yanweili@ibm.com >
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:27:47 +01:00
Naveen Thangaraj
91fb2126bc
feat: getting the error from status field for HPA analyzer ( #1164 )
...
* getting the error from status field for hpa analyzer
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com >
* Signed-off
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com >
* Updated the hpaAnalyzer_test.go
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com >
* Updated hpa_test.go
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com >
* Updated the hpa
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com >
* Updated the Conflicts
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com >
* Resolved all the conflicts
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com >
* Updated the test case
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com >
---------
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Matthis <matthish29@gmail.com >
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:27:47 +01:00
Matthis
cc9c05dcb0
feat: custom analysis paralelism ( #1203 )
...
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:27:47 +01:00
JuHyung Son
58a76a94d8
feat: add label selector ( #1201 )
...
* feat: fix the custom-analysis printing (#1195 )
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* feat: add label selector
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* feat: add label selector on analyzers
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* 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 <sonju0427@gmail.com >
* 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 <sonju0427@gmail.com >
* 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 <sonju0427@gmail.com >
* chore: update proto pkg version
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* chore: fix typo
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* feat: add label string to LabelSelector util func
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* feat: add test using 2 label selector
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: JuHyung Son <sonju0427@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:27:47 +01:00
Ronald Petty
6ef0e7dd8e
feat: initial kyverno support ( #1200 )
...
* refresh fork
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* let out, wasn't sure it was needed, but seems it might be in CI pipeline
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* 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 <ronald.petty@rx-m.com >
* 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 <ronald.petty@rx-m.com >
* 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 <alexsimonjones@gmail.com >
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* 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 <ronald.petty@rx-m.com >
* 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 <ronald.petty@rx-m.com >
* 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 <arisboutselis08@gmail.com >
* ci: add custom headers test
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* add error handling
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* 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 <arisboutselis08@gmail.com >
* 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 <arisboutselis08@gmail.com >
* 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 <alexsimonjones@gmail.com >
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* Update README.md
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
---------
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
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 <alexsimonjones@gmail.com >
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* 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 <ronald.petty@rx-m.com >
* 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 <ronald.petty@rx-m.com >
* 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 <ronald.petty@rx-m.com >
* ci: release to krew index as kubectl-gpt (#1100 )
Signed-off-by: Miguel Varela Ramos <miguel@cohere.ai >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* 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 <ronald.petty@rx-m.com >
* 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 <ronald.petty@rx-m.com >
* 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 <ronald.petty@rx-m.com >
* feat: skip k3s node type EtcdIsVoter (#1167 )
Signed-off-by: Kay Yan <kay.yan@daocloud.io >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* feat: fix the custom-analysis printing (#1195 )
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* 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 <ronald.petty@rx-m.com >
* 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 <ronald.petty@rx-m.com >
* 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 <ronald.petty@rx-m.com >
* Update pkg/integration/kyverno/kyverno.go
lgtm
Co-authored-by: Alex Jones <alex@k8sgpt.ai >
Signed-off-by: Ronald Petty <ronald.petty@minimumdistance.com >
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* remove unused function
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
---------
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
Signed-off-by: Miguel Varela Ramos <miguel@cohere.ai >
Signed-off-by: Kay Yan <kay.yan@daocloud.io >
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: Ronald Petty <ronald.petty@minimumdistance.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Miguel Varela Ramos <miguel@cohere.ai >
Co-authored-by: Kay Yan <kay.yan@daocloud.io >
Co-authored-by: Alex Jones <alex@k8sgpt.ai >
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:27:47 +01:00
Alex Jones
096f43356d
feat: fix the custom-analysis printing ( #1195 )
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:27:47 +01:00
Kay Yan
4e125f1692
feat: skip k3s node type EtcdIsVoter ( #1167 )
...
Signed-off-by: Kay Yan <kay.yan@daocloud.io >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:27:47 +01:00
jiajia
aebe9680da
fix:config nil pointer
...
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:27:47 +01:00
jiajia
84a548a304
fix:config nil point
...
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-10-24 07:27:47 +01:00
Aris Boutselis
02e754ed59
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 <arisboutselis08@gmail.com >
* ci: add custom headers test
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* add error handling
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* 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 <arisboutselis08@gmail.com >
* 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 <arisboutselis08@gmail.com >
* 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 <alexsimonjones@gmail.com >
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* Update README.md
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
---------
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
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 <alexsimonjones@gmail.com >
2024-07-10 09:59:08 +01:00
Kay Yan
b35dbd9b09
feat: add Ollama backend ( #1065 )
...
Signed-off-by: Kay Yan <kay.yan@daocloud.io >
2024-07-03 21:16:06 +01:00
Jin Song Wang
ce63821beb
feat: add watsonx ai provider ( #1163 )
...
Signed-off-by: JINSONG WANG <jswang@ibm.com >
2024-07-01 10:20:44 +01:00
JuHyung Son
4867d39c66
feat: support openai organization Id ( #1133 )
...
* feat: add organization flag
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* feat: add orgId on openai backend
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
---------
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-06-14 08:39:56 +01:00
Alex Jones
728555c0ef
fix: advisory k8sgpt ghsa 85rg 8m6h 825p ( #1139 )
...
* chore: updated helmclient and helmv3
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: fixing tests
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2024-06-13 09:30:09 +01:00
Ronald Petty
fad00eac49
fix(deps): typo in prometheus.go ( #1137 )
...
fix(deps): typo in prometheus.go
Signed-off-by: Ronald Petty <ronald.petty@gmail.com >
2024-06-12 18:34:38 +01:00
Anders Swanson
047afd46d6
feat: oci genai ( #1102 )
...
Signed-off-by: Anders Swanson <anders.swanson@oracle.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-05-16 15:44:41 +01:00
Vaibhav Malik
eda52312ae
feat: implement Top-K sampling for improved user control ( #1110 )
...
This commit adds Top-K sampling, a feature that allows users to control
the randomness of the generated text by specifying the number of most
probable next words considered by the model. This enhances user control
and potentially improves the quality of the generated outputs.
Fixes: https://github.com/k8sgpt-ai/k8sgpt/issues/1105
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-05-16 15:41:07 +01:00
JuHyung Son
882c6f5225
feat: support AWS_PROFILE ( #1114 )
...
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
2024-05-16 15:36:33 +01:00
Vaibhav Malik
63f7fcfef7
test: added tests for the pkg/integration package ( #904 )
...
This commit adds new tests for the `pkg/integration` package. As a
result, the code the code coverage of the package has increased from 0%
to 100%
This also includes a minor adjustment in the error statements of the
`Activate` and `Deactive` functions to ensure better understanding of
the cause of the error.
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-05-09 07:18:59 +01:00
Vaibhav Malik
2c7c74472c
test: added tests for the log analyzer ( #1010 )
...
* Added new tests for `LogAnalyzer` defined in the `pkg/analyzer`
package. Increased the code coverage of the `log.go` file to >90%
Partially addresses: https://github.com/k8sgpt-ai/k8sgpt/issues/889
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2024-05-09 07:18:22 +01:00
Vaibhav Malik
c3a884f0c4
test: added missing tests for pkg/analysis package ( #908 )
...
This commit bumps the code coverage of the `pkg/analysis` package to
60.8%
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: JuHyung Son <sonju0427@gmail.com >
2024-05-05 17:24:26 +01:00
Peter Pan
b2ab94375e
fix: invalid ParentObj in output ( #1068 )
...
* Fix invalid ParentObj in output
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io >
* fix UT as well for ParentObj changes
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io >
* remove meta.Name in false output
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io >
* fix UT as well
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io >
---------
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
2024-04-26 07:26:06 +01:00
DragonAlex98
9a73d1923f
feat: add keda integration ( #1058 )
...
* refactor: move FetchLatestEvent inside util package
Signed-off-by: DragonAlex98 <a.antinori@reply.it >
* feat: add Keda integration and ScaledObject analyzer
Signed-off-by: DragonAlex98 <a.antinori@reply.it >
---------
Signed-off-by: DragonAlex98 <a.antinori@reply.it >
2024-04-25 11:41:01 +01:00
Peter Pan
aa276a5379
feat: add Resource Kind in output ( #1069 )
...
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-04-20 21:11:02 +01:00
Miguel Varela Ramos
eb7687a089
chore(deps): update cohere client implementation to v2 ( #1062 )
...
* chore(deps): update cohere client implementation to v2 and to use chat endpoint
Signed-off-by: Miguel Varela Ramos <miguel@cohere.ai >
* chore: remove renovate rule for cohere-go
Signed-off-by: Miguel Varela Ramos <miguel@cohere.ai >
* style: remove unused attribute
Signed-off-by: Miguel Varela Ramos <miguel@cohere.ai >
* fix: go mod
Signed-off-by: Miguel Varela Ramos <miguel@cohere.ai >
---------
Signed-off-by: Miguel Varela Ramos <miguel@cohere.ai >
Signed-off-by: Miguel Varela Ramos <miguelvramos92@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-04-20 21:10:17 +01:00
Guido Muscioni
c162cc22ee
fix: set topP from config ( #1053 )
...
* fix: set topP from config
Signed-off-by: “Guido <muscionig@gmail.com >
* style: correct format of openai ai provider
Signed-off-by: “Guido <muscionig@gmail.com >
* feat: set topP from the environment
Signed-off-by: “Guido <muscionig@gmail.com >
---------
Signed-off-by: “Guido <muscionig@gmail.com >
2024-04-19 16:38:52 +01:00
izturn
1ae4e75196
refactor: replace util.SliceContainsString with slices.Contains & make fmt ( #1041 )
...
* use std package's func instead
Signed-off-by: gang.liu <gang.liu@daocloud.io >
* refactor: replace util.SliceContainsString with slices.Contains & make fmt
Signed-off-by: gang.liu <gang.liu@daocloud.io >
---------
Signed-off-by: gang.liu <gang.liu@daocloud.io >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-04-19 13:15:50 +01:00
Aris Boutselis
e6085d4191
feat: add minio support ( #1048 )
...
* feat: add minio support
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* feat: add TLS skip for custom https minio endpoint
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* feat: update cache with the new proto schema
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
---------
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
2024-04-19 11:58:41 +01:00
Vaibhav Malik
9dfcce842e
test: added missing tests for the Pod analyzer ( #1021 )
...
- Fixed a small bug where failures were being appended multiple times
for CrashLoopBackOff and ContainerCreating container status reasons.
- Added missing test cases to ensure proper testing of the Pod analyzer.
The addition of these missing test cases has increased the code
coverage of this analyzer to 98%.
- Added checks for init containers in a pod.
Partially addresses: https://github.com/k8sgpt-ai/k8sgpt/issues/889
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2024-04-13 21:08:33 +01:00
Vaibhav Malik
4262c9292c
test: removed pkg/kubernetes/testdata ( #1018 )
...
The `testdata` was no longer being used. Hence, removed it.
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2024-03-26 13:48:28 +00:00
Alex Jones
8f8f5c6df7
chore: allows an environmental override of the default AWS region and… ( #1025 )
...
* chore: allows an environmental override of the default AWS region and using it for bedrock
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: missing provider region
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2024-03-22 10:19:11 +00:00
Vaibhav Malik
3c1c055ac7
test: added missing tests for the CronJob analyzer ( #1019 )
...
* test: added missing tests for the CronJob analyzer
- Fixed a small bug where pre-analysis was incorrectly appended to the
results every time at the end of the for loop. This caused the result
for a single cronjob failure to be appended multiple times in the
final results.
- Added missing test cases to ensure proper testing of the CronJob
analyzer. The addition of these missing test cases has increased the
code coverage of this analyzer to over 96%.
Partially Addresses: https://github.com/k8sgpt-ai/k8sgpt/issues/889
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
* test: removed failure strings matching from tests
It is possible that the error or failure strings might change in the
future, causing the tests to fail. This commit addresses that issue by
removing the matching of failure text from various analyzer tests.
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
---------
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2024-03-21 18:13:32 +00:00
Vaibhav Malik
ebfbba98ca
test: added missing test case for events.go ( #1017 )
...
With the addition of the latest changes, the missing test case when an
event happens after the currently set latest event has been covered.
Partially Addresses: https://github.com/k8sgpt-ai/k8sgpt/issues/889
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-03-21 11:42:12 +00:00
Vaibhav Malik
47463d4412
test: added missing tests for the Ingress analyzer ( #1020 )
...
- Added missing test cases to ensure proper testing of the Ingress
analyzer. The addition of these missing test cases has increased the
code coverage of this analyzer to over 97%.
Partially Addresses: https://github.com/k8sgpt-ai/k8sgpt/issues/889
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-03-21 11:02:19 +00:00
Vaibhav Malik
a1d0d0a180
test: added tests for the Node analyzer ( #1014 )
...
* Added new tests for the `Node` analyzer defined in the `pkg/analyzer`
package.
* The addition of these new tests has increased the code coverage of the
node.go file to over 96%.
Partially addresses: https://github.com/k8sgpt-ai/k8sgpt/issues/889
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-03-20 09:32:23 +00:00
Vaibhav Malik
f60467cd4d
test: added missing tests for the Netpool analyzer ( #1016 )
...
- Added a network policy allowing traffic to all pods. Resulting in
additional failures in the results.
Partially addresses: https://github.com/k8sgpt-ai/k8sgpt/issues/889
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-03-15 18:45:36 +00:00
Vaibhav Malik
20892b48d0
test: removed useless tests from pkg/kubernetes ( #1015 )
...
- This commit removes unnecessary tests defined in the pkg/kubernetes
package.
- The removed tests were found to be flaky and were causing a
significant increase in CI time without adding much value to
the codebase.
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2024-03-14 21:51:15 +00:00
Vaibhav Malik
531f0bc46d
test: added tests for the Service analyzer ( #1011 )
...
* Added new tests for the `Service` analyzer defined in the
`pkg/analyzer` package.
* The addition of these new tests has increased the code coverage of the
service.go file to over 97%.
* Additionally addressed some flaky tests related to the `ReplicaSet`and
`PersisentVolumeClaim` analyzers.
Partially addresses: https://github.com/k8sgpt-ai/k8sgpt/issues/889
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
2024-03-14 09:42:16 +00:00