Matthis
fa087ff559
feat: modify error handling to return a list of errors to display to the user at the end of analysis without blocking it if an error is detected (e.g., version of an object is not available on user's cluster)
...
Signed-off-by: Matthis <matthish29@gmail.com>
2023-04-20 15:09:13 +02:00
renovate[bot]
df2ed4185b
fix(deps): update module github.com/prometheus/client_golang to v1.15.0 ( #303 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 10:47:26 +02:00
renovate[bot]
0472c363a4
fix(deps): update module github.com/sashabaranov/go-openai to v1.9.0 ( #298 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 07:36:07 +02:00
github-actions[bot]
03228d8e6d
chore(main): release 0.2.4 ( #292 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-18 16:33:43 +02:00
Rakshit Gondwal
71732037fa
feat: improve HPA analyzer to check ScaleTargetRef resources ( #283 )
...
* feat: improve HPA analyzer to check ScaleTargetRef resources
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
* feat: modify tests
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
* feat: improve all ScaleTargetRef to check for resources
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
* test: add test cases for all ScaleTargetRef types
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
* refactor: use interface to avoid dupplication
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
* test: add test case for NoResourceConfiguredForScaleTargetRef
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
---------
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
Co-authored-by: Matthis <99146727+matthisholleville@users.noreply.github.com>
2023-04-18 15:27:06 +02:00
Aris Boutselis
a962d13654
Merge pull request #296 from matthisholleville/fix/language-toggle-bug
...
fix: resolve language toggle bug (issue #294 )
2023-04-18 10:17:10 +01:00
Matthis
0313627848
fix: resolve language toggle bug (issue #294 )
...
Signed-off-by: Matthis <matthish29@gmail.com>
2023-04-18 06:14:11 +02:00
Matthis
3d684a2af7
fix: deployment/cronjob namespace filtering ( #290 )
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-04-17 17:37:19 +02:00
Matthis
af8b350520
fix: ensure parent directories are created in EnsureDirExists function ( #293 )
2023-04-17 14:38:43 +01:00
Matthis
3c4bc1a92c
Merge pull request #287 from matthisholleville/feature/server-logs
...
feat: init logging middleware on server mode
2023-04-17 11:53:12 +02:00
Matthis
5f3244a5d4
Merge branch 'main' into feature/server-logs
2023-04-17 11:46:58 +02:00
Alex Jones
222e0873c0
Update README.md ( #288 )
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-17 06:49:45 +01:00
Matthis Holleville
6742410025
feat: init logging middleware on server mode
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-04-16 23:40:19 +02:00
Alex Jones
64f359c428
Merge pull request #271 from k8sgpt-ai/release-please--branches--main
...
chore(main): release 0.2.3
2023-04-16 12:50:00 +01:00
github-actions[bot]
1acb22efdb
chore(main): release 0.2.3
2023-04-16 11:17:51 +00:00
Alex Jones
8615ea28ed
Merge pull request #236 from patrickpichler/feature/235/use-xdg-config-home
...
feat: store config in XDG conform location
2023-04-16 12:17:09 +01:00
Alex Jones
a7cff482a8
Merge branch 'main' into feature/235/use-xdg-config-home
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-16 12:10:05 +01:00
Matthis
6e7c583aec
Merge pull request #284 from matthisholleville/refactor/output-analysis
...
feat: add output query param on serve mode & refactor output logic
2023-04-16 09:24:33 +02:00
Matthis Holleville
9121a983e5
feat: rename server/main.go to server/server.go
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-04-16 09:20:49 +02:00
Matthis Holleville
9642202ed1
feat: add output query param on serve mode & refactor output logic
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-04-15 21:55:46 +02:00
Alex Jones
0f88edf4e3
Merge pull request #280 from k8sgpt-ai/feat/manifests
2023-04-15 18:19:12 +01:00
Alex Jones
e5a8c57877
Merge branch 'main' into feat/manifests
2023-04-15 18:06:12 +01:00
Alex Jones
842f08c655
feat: running in cluster
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-15 18:05:57 +01:00
Alex Jones
3988eb2fd0
feat: running in cluster
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-15 18:05:57 +01:00
Alex Jones
f0a0c9aebf
chore: updated
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-15 18:05:57 +01:00
Alex Jones
ec2e7703c6
adding manifest example
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-15 18:05:57 +01:00
Matthis
a3becc9906
feat: add server metrics ( #273 )
...
* feat: expose metrics path & init analyzer errors metrics
This commit add metrics path & the analyzer error metrics in the codebase. The changes have been made across all analyzers and include the addition of a new metric with label values for the analyzer's name, analyzed object's name, and namespace. The metric's value is set to the length of the analyzer objects failures.
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
* feat: add metric to cronjob & deployment & netpol
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
* feat: expose metric to NodeAnalyzer
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
---------
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-04-15 19:03:37 +02:00
Alex Jones
ffde363588
Merge branch 'main' into feat/manifests
2023-04-15 16:59:13 +01:00
Alex Jones
03a95e7b2a
Merge pull request #282 from matthisholleville/fix/duplicated-vulnerabilityreport-filters
...
fix: resolve issue with duplicated integration filters.
2023-04-15 16:28:16 +01:00
Alex Jones
56a323c129
Merge branch 'main' into fix/duplicated-vulnerabilityreport-filters
2023-04-15 16:28:11 +01:00
Alex Jones
f20c139b1c
Merge pull request #281 from k8sgpt-ai/feat/server-envs
...
feat: envs to initialise server
2023-04-15 16:27:33 +01:00
Matthis Holleville
960ba568d0
fix: resolve issue with duplicated integration filters.
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-04-15 15:49:39 +02:00
Alex Jones
0071e25992
feat: envs to initialise server
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-15 12:26:51 +01:00
Patrick Pichler
dee435514d
feat: switch config file to XDG conform location
...
The config file is now located in an folder according to the XDG
specification (`XDG_CONFIG_HOME`).
Migration is performed automatically.
This fixes #235 .
Signed-off-by: Patrick Pichler <git@patrickpichler.dev>
2023-04-15 13:18:30 +02:00
Alex Jones
fe2c08cf72
feat: wip blocked until we have envs
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-15 12:08:43 +01:00
renovate[bot]
51b1b352ac
fix(deps): update module github.com/sashabaranov/go-openai to v1.8.0 ( #277 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-15 07:57:50 +02:00
Alex Jones
bbf159455a
Merge pull request #274 from matthisholleville/fix/server-authentication
...
fix: use the aiProvider object when launching the server
2023-04-14 16:33:25 +01:00
Matthis Holleville
e7076ed609
fix: use the aiProvider object when launching the server instead of the deprecated configuration keys
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
2023-04-14 17:23:12 +02:00
Dominik Augustin
6247a1c0f3
feat: add node analyzer ( #272 )
...
Signed-off-by: Dominik Augustin <dom.augustin@gmx.at>
2023-04-14 15:08:47 +02:00
Alex Jones
a8f8070e16
Merge pull request #270 from nunoadrego/fix/version
...
fix: add new line after version cmd output
2023-04-14 12:12:18 +01:00
Nuno Adrego
92e7b3d3fb
fix: add new line after version cmd output
...
Signed-off-by: Nuno Adrego <55922671+nunoadrego@users.noreply.github.com>
2023-04-14 11:41:55 +01:00
Alex Jones
763b8b92df
Merge pull request #251 from k8sgpt-ai/release-please--branches--main
...
chore(main): release 0.2.2
2023-04-14 10:39:48 +01:00
github-actions[bot]
ff77e64b71
chore(main): release 0.2.2
2023-04-14 08:55:50 +00:00
Alex Jones
b726e1e706
Merge pull request #253 from hdm23061993/docs/issue-232
...
docs: fix Slack link
2023-04-14 09:54:58 +01:00
Alex Jones
6ca80abae8
Merge branch 'main' into docs/issue-232
2023-04-14 09:54:35 +01:00
dependabot[bot]
7d1e2acaf3
chore(deps): bump github.com/docker/docker ( #268 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 23.0.1+incompatible to 23.0.3+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v23.0.1...v23.0.3 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-14 10:23:37 +02:00
Alex Jones
584201a34e
Merge pull request #267 from k8sgpt-ai/feat/additional-analyzers
2023-04-14 09:17:10 +01:00
Alex Jones
ddb51c7af4
chore: removing field
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-14 09:14:45 +01:00
Alex Jones
19e1b94e7c
feat: anoymization based on pr feedback
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
2023-04-14 07:40:27 +01:00
Alex Jones
4d3624830f
chore: Merge branch 'main' into feat/additional-analyzers
2023-04-14 07:39:28 +01:00